I'm using Exoplayer with a base of the DemoPlayer.
I want to restart/replay the video from beginning on some user action after that ExoPlayer.STATE_ENDED is dispatched.
I've tried to use
I've updated the library to ExoPlayer
r1.4.2 and it does the job...
mPlayer.seekTo(0); mPlayer.setPlayWhenReady(true); // replay from start
// Pause video after restart