Saturday, July 9, 2016

How to Customize YouTubePlayer Controls in Android

The YouTube Android Player allows you to customize the playback control by setting one of the style defined in YouTubePlayer.PlayerStyle enumeration. It currently support three styles DEFAULT, MINIMAL or CHROMELESS;

YouTubePlayer.PlayerStyle.DEFAULT – The default style, showing all interactive player controls.
YouTubePlayer.PlayerStyle.MINIMAL – The minimal style displays only a time bar and play/pause controls.
YouTubePlayer.PlayerStyle.CHROMELESS – A style that shows no interactive player controls. When you use CHROMELESS, you need to write your own controls for play, pause or se...
Posted under #Android. Read full article from Stacktips.
Follow author on twitter https://twitter.com/npanigrahy.