Nuke icon indicating copy to clipboard operation
Nuke copied to clipboard

Blinking video player after play method call

Open dsrenesanse opened this issue 1 year ago • 1 comments

Hello! Huge thanks for the library. I found strange behavior that VideoPlayerView blinks after play method called second time My workaround for now looks like this: playerView.playerLayer.player?.play() I can try to fix it by myself, if you have some thoughts, considerations or additional information let me know, cheers!

dsrenesanse avatar Sep 27 '24 11:09 dsrenesanse

Is it that the player "blinks"? Or is it because the playerView.play() will reload the asset and basically restarts the whole pipeline?

I noticed this, and I maintain a "first-run" part where the video player gets the asset, and all subsequent calls are to the player.play (as you have done).

sureshjoshi avatar Oct 02 '24 15:10 sureshjoshi