youtube / youtube-ios-player-helper

Lightweight helper library that allows iOS developers to add inline playback of YouTube videos through a WebView
Other
1.64k stars 677 forks source link

[YTPlayerView playerState] does not work in iOS 15.4 #466

Open sigco3111 opened 2 years ago

sigco3111 commented 2 years ago

[YTPlayerView playerState] does not work in iOS 15.4 Any solution?

jasonszheng commented 2 years ago

Hello @sigco3111, Can you please provide which version of the library you are using and exact selector you are trying to access? Currently there's no selector with this signature.

You may try using: - (void)playerState:(_Nullable YTPlayerStateCompletionHandler)completionHandler;

jesphinpt commented 2 years ago

@jasonszheng I am facing a one minute delay to load the youtube video after handling the YTPlayerStateCompletionHandler.

Any specific reason for this?