English 中文(简体)
页: 1
原标题: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://whinyliberal.com/throwback-thursday-crazy-libs-mourning-loss-of-a-tree/“rel=“nofollow”>http://whinyliberal.com/throwback-thursday-crazy-libs-mourning-loss-of-a-tree/

我赞赏这一帮助!

问题回答

研究人员正在追踪这一问题:

首先,我使用SOS探测器,使用1px的高度,但我发现这一更简单的解决办法:

在iframe宣言中添加scrolling=“no”。





相关问题
jQuery.data() works in Mac OS WebKit, but not on iPhone OS?

I m playing around with jQTouch for an iPhone OS app that I ve been toying with off and on for a while. I wanted to try my hand building it as a web app so I started playing with jQTouch. For ...

How can I create a photo slider on iPhone Safari with jQuery?

I d like to create an product image viewer for an iPhone version of an ecommerce site, and have it behave something like the Photos app. Ideally, you would be able to slide images to move back and ...

Selecting text in mobile Safari on iPhone

I m trying to make it easy for an iphone user to copy some text to the clipboard in mobile safari. As in the usual "touch-hold-copy". There is a specific bit of text I want to a user to copy. I have ...

Detect closing of mobile Safari

I m building a WebApp which uses video server push with: <img id="vidsrc" src="video.cgi"/> It works. And when saved as a WebApp using "Add to Home Screen" closing the app does as expected and ...

iPhone Web App disable cache

I have built an iPhone webapp using PHP. The main (and only) page includes the apple-mobile-web-app-capable and apple-touch-fullscreen meta tags so that it can run fullscreen once added to the ...

How to Create "Add to Calendar" Link on Web Page for iPhone

Many calendaring programs (Outlook, iCal) support vCal for downloading event information and adding it to your calendar. Others can use the vCalendar microformat to extract data. Neither of these, ...

热门标签