Thursday, March 31, 2011

[YouTube-API] Re: iFrame API cueVideoById causing player to resize on iPhone/iPad

Here's an update.

It has nothing to do with using the API and scripting.

I reverted to the standard iFrame embed code from below a YouTube video and the results are as follows.

When viewing it on an iPhone/iPad the iframe resizes itself by increasing its height, stretching the preview image.

The video plays fine when clicked (tapped) but the stretching is very ugly and ruins a page if you don't put it in a div with overflow:hidden.

Any thoughts?

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment