Open callmewa opened 8 years ago
A brief but thorough description of the issue.
repeat the following code several times
playerView.player.reset() self.playerView.player.setURL(#validUrl) playerView.player.play()
after setURL player status becomes AVPlayerItemStatusReadyToPlay regardless of repetition
player status permanently becomes AVPlayerItemStatusUnknown and will not recover with reset
Swapped out VimVideoPlayer with piemonte/Player. Problem went away
cc @jasonhawkins
Issue Summary
A brief but thorough description of the issue.
Reproduction Steps
repeat the following code several times
playerView.player.reset() self.playerView.player.setURL(#validUrl) playerView.player.play()
Expected Behavior
after setURL player status becomes AVPlayerItemStatusReadyToPlay regardless of repetition
Actual Behavior
player status permanently becomes AVPlayerItemStatusUnknown and will not recover with reset