开发者

Event on view displayed change (Youtube MPMoviePlayerViewController)

开发者 https://www.devze.com 2023-04-02 17:21 出处:网络
I would like to kn开发者_如何学Cow when the YouTube MPMoviePlayerViewController appear (programmatically) after have clicked on the UIWebView which permit to play the video in iOS, to get and to have

I would like to kn开发者_如何学Cow when the YouTube MPMoviePlayerViewController appear (programmatically) after have clicked on the UIWebView which permit to play the video in iOS, to get and to have control on this view.

Because I want to get information from the player like the current playback time, loading time... like in a regular MPMoviePlayerViewController.

Thanks


You will, under no circumstances receive any notifications from the WebView embedded player.

Update: This is not entirely true. There are no documented notifications. However, there are notifications used by the UIWebView embedded movie player (which actually is NOT a MPMoviePlayerController).

See my answer on How to receive NSNotifications from UIWebView embedded Youtube video playback

0

精彩评论

暂无评论...
验证码 换一张
取 消