ExoPlayer - play 10 files one after another

后端 未结 5 1438
天命终不由人
天命终不由人 2021-02-03 12:30

I have 10 video i need to play, once one is done, the next one starts to play.

I\'m using Google\'s ExoPlayer, I use the example in the DEMO @ GitHub. I can play 1 video

5条回答
  •  面向向阳花
    2021-02-03 13:11

    There is another solution, you could refer to ConcatenatingMediaSource to achieve auto play next media.

    In Demo App example : 1. Launch ExoPlayer 2. Select Playlists 3. Choose Cats->Dogs

提交回复
热议问题