The default behavior for embeds with that aspect ratio is to auto-
hide the control bar. That is to say, when your mouse is active in the
player area, the control bar is show, and when your mouse is inactive,
the control bar hides. You can see that for yourself on your sample
page, and you can override the default behavior by explicitly
providing a value for the "autohide" URL query parameter when
specifying the src attribute for the <iframe>:
https://developers.google.com/youtube/player_parameters
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Mar 18, 10:52 am, Yaniv Reichenberg <yan...@gmail.com> wrote:
> Good morning everybody,
> I have recently launched a content recommendation website that includes
> embedded videos from YouTube.
> However, I have soon found out that in Google Chrome most YouTube videos
> are shown with no progress bar or control panel whatsoever (no ability to
> move backward/ forward/ full screen/ go to YouTube/ etc.). They're shown OK
> in Explorer.
> The programmer I hired to set up the site says that it is YouTube's fault,
> and he has no control over what is shown in the iframe. It makes sense, but
> I haven't seen such a bug anywhere else, so I'm not so sure it's a YouTube
> issue.
> What do you think?
>
> Website address:http://www.stolenminute.com
> Direct link to a YouTube video example:http://www.stolenminute.com/Breather.asp?ID=626
> Embedding code for this example:
> <iframe width="640" height="360"
> src="http://www.youtube-nocookie.com/embed/sLofEA_BvGY" frameborder="0"
> allowfullscreen></iframe>
>
> Thank you all!
> Yaniv
--
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