I need to set duration of a video for a thumbnail to 5 seconds and loop it. I got the loop part, but I can't find documentation for setting specific duration
I tried exoPlayer.seek(duration) but that didn't work
I need to set duration of a video for a thumbnail to 5 seconds and loop it. I got the loop part, but I can't find documentation for setting specific duration
I tried exoPlayer.seek(duration) but that didn't work
Copyright © 2021 Jogjafile Inc.
You may use
ClippingMediaSource
:You can convert to have a new media source and set this new media source for your ExoPlayer: