I am trying to hide the buttons in a Youtube video player (api). I used
player.setShowFullscreenButton(false)
this hides the fullscreen button successfully, but I did not find way to hide the control button -- that button can go to youtube application.
I tried using
player.setPlayerStyle(PlayerStyle.MINIMAL);
This hides all buttons, but also changes the progress bar, but I need the old progress bar.
Any help?
To disable only full screen
Shows or hides the fullscreen button on the player controls.
For Reference See this link
You can initiate the player as a "Chromeless" player. That should do it.
I only know this works with version 1.2.2 of Youtube player of the API. Hides YOUTUBE button only.
Try this
In your onInitializationSuccess method use this code
Note:-
For more visit official link