2

I have multiple videos in the RecyclerView. I want when list focus in the middle the video must play automatically.

Shikha Ratra
  • 697
  • 3
  • 12
  • 28

1 Answers1

0

Video-Player-Manager - it gives the ability to invoke MediaPlayer methods in a background thread. It has utilities to have only one playback when multiple media files are in the list. Before new playback starts, it stops the old playback and releases all the resources.

https://github.com/danylovolokh/VideoPlayerManager

This may be useful to you

Venkatesh
  • 209
  • 2
  • 11
  • 1
    I have implemented these methods already. i just want to play the video in recyclerview in the middle of the screen – Shikha Ratra Apr 20 '16 at 06:54
  • please see this link for recycler view plays the video in the center of the screen https://github.com/danylovolokh/VideoPlayerManager#usage-in-scrolling-list-listview-recyclerview @ShikhaRatra – Pratik PSB May 27 '21 at 07:08