ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

hide scrubber of seekbar in exoplayer

Open vishnu20037 opened this issue 3 years ago • 1 comments

how to hide scrubber of seekbar in exoplayer. I want to hide the scrubber after playing the video 3 seconds

vishnu20037 avatar Aug 26 '22 17:08 vishnu20037

StyledPlayerView uses DefaultTimeBar (via StyledPlayerControlView). DefaultTimeBar has hideScrubber() methods. However, it's not currently very easy to get a reference to this instance if you're using StyledPlayerView. Our old recommendation was to override the layout XML file, and set the exo_progress to your custom TimeBar instance. We've found that layout overriding like this isn't very flexible, or compatible with the design of StyledPlayerView, so we don't currently encourage this approach to customisation (though it will still work).

icbaker avatar Sep 12 '22 06:09 icbaker

Closing due to inactivity.

icbaker avatar Oct 05 '22 17:10 icbaker