I am trying to hide the controls, but show the youtube fullscreen button, so that the player looks like the vimeo player.
I have added the following parameters after my embed URL:?&controls=0&showinfo=0&rel=0&fs=1
However, it only hides all of the controls. Is it possible to only show full screen button?
Note: the <iframe allowfullscreen>
has this option set.
As of September 2018, this doesn't seem to be possible directly with the YouTube iFrame Player API. You can hide all controls (controls=0), or you can hide the fullscreen button specifically (fs=0), but you cannot exclusively display the fullscreen button by itself (i.e., controls=0&fs=1 won't work.)
However, conceivably you can hide all controls and overlay your own custom fullscreen button, and use the browser Fullscreen API to invoke fullscreen on the iframe.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With