Discussion Forums  >  Uncategorized

Replies: 4    Views: 239

stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
02/15/12 06:44 PM (12 years ago)

Different behavior m4v files linked in html vs in menu list

I have menus screens with links to m4v files. And when I click on them the movie opens appropriately. However, in some of my screens I have html files some of which have links in them to the same m4v files. However, when I click these links, the movie opens and plays correctly, but smack in the center of the frame is the Play icon (the forward arrow in a circle). If I click on the arrow the arrow disappears and the movie continues to play with also the usual movie control bars. If I don't press it the movie will play but without the controls such as fast forward, pause, etc. Does anyone know why there are these two behaviors and if there is any way I can get the inked movies to behave normally. Thanks. Steve
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
02/15/12 07:03 PM (12 years ago)
Ran it in simulator and have following: First represents run from menu (file name is fleur.m4v, by the way.) Second is from in link and there are error messages I don't understand. FIRST: File does exist in Xcode bundle: fleur.m4v 2012-02-15 20:48:30.186 pedoph[5747:17303] BT_viewControllerManager: Embedding video WITH subView.. SECOND: 2012-02-15 20:53:02.467 pedoph[5747:17303] setting movie path: file:///Users/skronwith/Library/Application%20Support/iPhone%20Simulator/5.0/Applications/0FFAB804-1191-45C2-9711-F86AA1F0CE5A/pedoph.app/fleur.m4v 2012-02-15 20:53:02.522 pedoph[5747:17303] BT_screen_webView: didFailLoadWithError: iOS Error Code: 204 iOS Error Message: Plug-in handled load 2012-02-15 20:53:02.525 pedoph[5747:17303] BT_screen_webView: hideProgress
 
gereghas
Aspiring developer
Profile
Posts: 45
Reg: May 14, 2011
Oklahoma
1,250
like
02/15/12 11:34 PM (12 years ago)
In the html doc, try adding autoplay=false in with the source.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
02/16/12 07:46 AM (12 years ago)
Could you please tell me exactly where it would go. The code for the link is <a href=rrbruchner.m4v> Where should autoplay=false go and what is the syntax. Thanks.
 
stevek
Aspiring developer
Profile
Posts: 808
Reg: Dec 24, 2011
great neck
8,080
like
02/16/12 08:00 AM (12 years ago)
I tried <a href=rrbruchner.m4v autoplay = false > but the video started to play immediately as always, with the right arrow in the circle in the center of the frame.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.