Tuesday, April 12, 2011

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

I tried adding a div and it's still stretched. Guess I'll have to wait
for the update from YouTube. Thanks for posting.

On Mar 31, 11:42 am, Feathers <swfeath...@gmail.com> wrote:
> 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