Please refer to the blog below to play videos in recycler view.
https://engineering.cred.club/implementing-multi-video-playback-in-recyclerview-56a4bdf99a29