When I click the video thumbnail the video player is launched *but* it does not start playback until I click "play" button. So I need to click twice: once to start the HTML5 video player and then again to start video playback inside the player. In m.youtube.com the playback starts immediately after clicking the thumbnail. How can I get this behavior?
I've tested this:
<iframe id="player" type="text/html" width="640" height="390"
src="http://www.youtube.com/embed/u1zgFlCw8Aw?enablejsapi=1&origin=example.com&autoplay=1&enablejsapi=1"
frameborder="0">
and I've also tried playVideo() in the javascript API like described in http://code.google.com/apis/youtube/iframe_api_reference.html
--
Tero
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment