开发者

YouTube Video height doubled on iPhone and iPad

Embedded YouTube videos are displaying at double their specified height on mobile Safari. The dimensions are correct on a desktop. Here's an example, you'll see what I mean:

http:/开发者_Python百科/whinyliberal.com/throwback-thursday-crazy-libs-mourning-loss-of-a-tree/

I appreciate the help!


Developers are tracking this problem here:

http://groups.google.com/group/youtube-api-gdata/browse_thread/thread/861d5605093fdd7b


At first I was using a iOS detect script to apply a height of 1px, but then I found this much simpler solution:

Add scrolling="no" in the iframe declaration.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜