YouTubePlayerKit
YouTubePlayerKit copied to clipboard
After a player source hit an error, YouTubePlayerKit.YouTubePlayer.State does not reset once loading a new valid video
What happened?
After a player source hit an error, YouTubePlayerKit.YouTubePlayer.State does not reset once loading a new valid video
What are the steps to reproduce?
If you use the same player to load multiple videos and one of the video hit a failure like .embeddedVideoPlayingNotAllowed then the next video played with the same player will have the YouTubePlayer.State still set to the same error
What is the expected behavior?
YouTubePlayer.State should be reset when a new video is cued/loaded to a player