youtube-ios-player-helper
youtube-ios-player-helper copied to clipboard
Getting same player state for different actions
Hi @rcvrgs
i am getting same player state of player for two different actions
- Pause video
- Close video
func playerView(_ playerView: YTPlayerView, didChangeTo state: YTPlayerState) {
}
can we get different player state for these...
What is the state that you are getting. Is it paused?
Currently if you exit fullscreen it is expected to get a paused event. There is not an additional state for exiting fullscreen at the moment.
Hi
i am getting kYTPlayerStatePaused for both
i am unable to differentiate among these state. please let me know how i can identify these events separately
Hi
i am getting kYTPlayerStatePaused for both
i am unable to differentiate among these state. please let me know how i can identify these events separately
@rcvrgs : let me know if there a way to identify these state separately
Hi @rcvrgs
can i get a reply over this
let me know if there a way to identify these state separately