How can I hide Youtube controls but show the Fullscreen button?
I am trying to hide the controls but will show the youtube full screen button to make the player look like a vimeo player.
I added the following parameters after my url: ?&controls=0&showinfo=0&rel=0&fs=1
However, it hides all controls. Can I only show a full screen button?
Note. <iframe allowfullscreen>
has this option.
+3
source to share
1 answer
Jacob You can use the "fs" parameter to do whatever you want.
Link: https://developers.google.com/youtube/player_parameters
Example:
<iframe src="https://www.youtube.com/embed/" frameborder="0" fs="1"></iframe>
0
source to share