I'm currently doing a mobile website. I have embedded Youtube videos in it.
Thing is, when you open a youtube vide开发者_如何学JAVAo in an iPod, it does its thing where it goes full screen, and at the end you must manually close the video to continue browsing.
I was wondering if there is a command to auto-close the fullscreen on the end of the youtube video.
I don't know what code are you using but I saw this a while ago:
<object width="425" height="344" type="application/x-shockwave-flash" data="http://www.youtube.com/watch?v=hoA1MBRJ_BA&hl=de&fs=1&rel=0"><param name="movie" value="http://www.youtube.com/watch?v=hoA1MBRJ_BA&hl=de&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param></object>
That is supposed to work flawlessly, source:
Embedding youtube video in webpage for both desktop and iphone/ipad
精彩评论