youtube / youtube-ios-player-helper

Lightweight helper library that allows iOS developers to add inline playback of YouTube videos through a WebView
Other
1.64k stars 680 forks source link

hiding fullscreen-mode button ("fs" = 0) not working #432

Open afMicWeg opened 3 years ago

afMicWeg commented 3 years ago

hiding fullscreen-mode button ("fs" = 0) not working. Player controls always shows "fullscreen" button no matter how fs-paramter is set

ykws commented 2 years ago

@afMicWeg Hi, have you resolved this issue yet? Now I worked it, if fs is 0, hiding fullscreen mode button at the bottom-right, please check it again.

fs=0 fs=1
fs=0 fs=1

Setting this parameter to 0 prevents the fullscreen button from displaying in the player. The default value is 1, which causes the fullscreen button to display.

https://developers.google.com/youtube/player_parameters#fs