Just a heads up for those looking to allow uses to play videos in-page on their mobile iOS devices (mobile safari):

In: media_youtube-default-external.tpl.php

<!-- Fallback content -->
      <?php print $thumbnail; ?>

This will cause the auto-replacement that YouTube does for iOS devices to be disabled. In other words, it will always default to the thumbnail if this snippet is left in place. When a users clicks, it will take them out of mobile Safari and into the YouTube app, instead of keeping them on the page.

So heads up to you mobile web UI devs out there. :)

Comments

jorisx’s picture

Hmm, I still get a thumb image when I open a video on iOS ... I use lightbox2 or colorbox to display the video on top the page. (I tried them both) Anyone knows what goes wrong here? fix? see: http://fgestudio.com/fge/movies

Thanx in advance :)

rumblewand’s picture

What did you do to fix your site? Looks like its working now and I'm having this issue.

rumblewand’s picture

still not able to get this working - I'm playing with it now.

rumblewand’s picture

Ok. Looks like he switched to colorbox - which I'd rather not do at this point. I have some custom setups in lightbox2. I'll post over in Lightbox2 and see if they have any ideas.