ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

add custom media Controller

Open AlirezaGhanbarinia opened this issue 10 years ago • 2 comments

how to add custom media Controller to Exo player?

in the previous version by using "getPlayerControl" function , we accessed to media controller and player seekbar , is there a function like this in the new version?

AlirezaGhanbarinia avatar Oct 30 '16 09:10 AlirezaGhanbarinia

We don't use or support android.media.MediaController in ExoPlayer V2. It was never an API that was particularly well suited for ExoPlayer. Even in V1 it was expected that most people would not use it, with PlayerControl documented to say:

This class is provided for convenience, however it is expected that most applications will implement their own player controls and therefore not require this class.

In V2 we've introduced our own UI components (SimpleExoPlayerView and PlaybackControlView). They will be really easy to customize from the next release (r2.0.5), and we'll hopefully have a chance to write a blog post detailing this.

ojw28 avatar Oct 30 '16 13:10 ojw28

This is good news for me, @ojw28 when you do think r2.0.5 will be available?

cyberjaime45 avatar Oct 31 '16 17:10 cyberjaime45