Open dokiKit opened 6 years ago
I found that if I seek the player to 0ms, the video can be played. Seems that oncomplete does not reset the seek progress
@dokiKit From what I remember now, after onComplete is called, the Player state becomes 'IDLE', which requires it to prepare again to be able to start another playback. If you use helper as standalone, try to call prepare/initialize again and see if it helps.
How you seek ? @dokiKit
Thanks for the great library. I use this library for purpose of the ability to play video in a recyclerview. I disable auto play. But I found that when I play the video manually using the helper.play() and helper.pause() function, the first time the video is played normally. When the video is completed playing, and I try to play it again, the ToroPlayer.EventListener immediate called onComplete. Why is that? Also, when I swipe another item and swipe back, the video can be played again. Below is my implementation.(The VideoViewHolder part).
Thanks, Kit