Tuesday, January 10, 2012

[YouTube-API] Re: Javascript API + iframe embeds + iPad not working?

Hi Tim,

Thanks for reply.

I believe the post you linked to only pertains to autoplay:

"To prevent unsolicited downloads over cellular networks at the
user's expense, embedded media cannot be played automatically in
Safari on
iOS—the user always initiates playback."

I should be in the clear; I am not setting the video to play
automatically. Indeed, I am not setting the autoplay parameter at
all.

Further down in that post:

"but for iPad you must either set the controls attribute or provide a
controller using JavaScript."

I should also be in the clear here since I am providing the controller
via javascript.

So, since I am not autoplaying, and since the video waits for the user
to initiate the video with a click (which fires a supposedly legal js
function), my code should work. Unless I'm missing something else?

Thanks!

--
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