Reputation: 1403
I want to use only pause, play & seek_bar of youtube API in the Android app but it gives only 3 type of default controls.in default it shows setting button, does anyone have an idea how to remove that setting button coz it let the user go to youtube app and I don't want to let the user know about my channel.
Upvotes: 3
Views: 3997
Reputation: 322
Does anyone have an idea how to remove that setting button?
According to this Android Youtube API Document,you could use YouTubePlayer.PlayerStyle.MINIMAL to only display the play, pause and seek bar.
Summary:
Enum values
YouTubePlayer.PlayerStyle.CHROMELESS : A style that shows no interactive player controls.
YouTubePlayer.PlayerStyle.DEFAULT : The default style, showing all interactive controls.
YouTubePlayer.PlayerStyle.MINIMAL : A minimal style, showing only a time bar and play/pause controls.
Upvotes: 8