开发者

Auto close Youtube Video when it's ended on an iPod Touch/iPhone

开发者 https://www.devze.com 2023-04-06 19:19 出处:网络
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 t

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&amp;hl=de&amp;fs=1&amp;rel=0"><param name="movie"  value="http://www.youtube.com/watch?v=hoA1MBRJ_BA&amp;hl=de&amp;fs=1&amp;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

0

精彩评论

暂无评论...
验证码 换一张
取 消