You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I play a video with a set startTime, endTime and looping enabled, the startTime and endTime is respected the first time, but when the video is played for the second time (looping engaged), it starts from 0.0 and plays to the end of the video. Is this an issue in the library or within the Youtube JS API?
The text was updated successfully, but these errors were encountered:
I am noting it respects the end timestamp but not the start. It fires off here in YTSwiftyPlayer line288: case .onStateChange: updateState(message.body as? Int) let isLoop = playerVars["loop"] as? String == "1" if playerState == .ended && isLoop { playVideo() } delegate?.player(self, didChangeState: playerState)
Thank you. If you could post an idea of the fix, we can implement it on our side as well. I will check it out myself as time permits but of course with any new repo, it can take time to walk new code ;)
If I play a video with a set startTime, endTime and looping enabled, the startTime and endTime is respected the first time, but when the video is played for the second time (looping engaged), it starts from 0.0 and plays to the end of the video. Is this an issue in the library or within the Youtube JS API?
The text was updated successfully, but these errors were encountered: