Reputation: 1246
http://boythemovie.co.nz/wordpress/videos-test
I am using the YouTube iframe code below, but on my iPhone I only get the black box with the YouTube logo, and clicking it does nothing.
Removing ?rel=0;autoplay=1
doesn't help.
Am I missing something?
Thanks!
<iframe width="640" height="360" src="http://www.youtube.com/embed/RwqfR8g-Qow?rel=0;autoplay=1" frameborder="0" allowfullscreen></iframe>
Upvotes: 1
Views: 482
Reputation: 1246
Select 'Use old embed code' in the YouTube options, which outputs:
<object width="640" height="360"><param name="movie" value="http://www.youtube.com/v/RwqfR8g-Qow?version=3&hl=en_GB&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/RwqfR8g-Qow?version=3&hl=en_GB&rel=0" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Didn't realise this was all it would take, sorry guys! I assumed that the default code in YouTube would be iPhone friendly. Silly me.
Upvotes: 0
Reputation: 3010
Try use iframe with a playlist:
src="http://www.youtube.com/embed/p/PLAYLIST_ID"
I heard there is a reference on youtube developer forum on how to do this..
Upvotes: 1