Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide frame, progress bar and buttons from Youtube film

At a page I am showing a Youtube film in a lightbox.

I then want to show only the raw video film - no controls, play/pause buttons, fullscreen option, progress bar etc. Right now it looks like this:

Youtube example

and I simply need to remove the top and bottom flash bars with icons. I know it slides away while the films is running, but I wish to always have them hidden.

Is this possible to hide from the film?

Update

From the answer from @Sven below I added controls=0&showinfo=0&rel=0 to the URL in the iframe and got the following:

Youtube example 2

This works fine for the purpose. It seems though that a Youtube logo is visible in the lower right corner instead when this other stuff is removed. This logo is only shown at hover.

Any ideas to hide this last bit?

like image 443
Steeven Avatar asked Dec 26 '22 06:12

Steeven


1 Answers

Depending on how you are inserting the video, there are several configuration options. https://developers.google.com/youtube/player_parameters

If you insert the link directly as an iframe most of the options work as GET parameters. In your case add controls=0&showinfo=0 to the video url.

like image 153
dersvenhesse Avatar answered Jan 13 '23 12:01

dersvenhesse