Nuke
Nuke copied to clipboard
Blinking video player after play method call
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!
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).