开发者

Youtube play and quit options handling

开发者 https://www.devze.com 2023-03-25 05:52 出处:网络
I am running the YouTube video on the UIWebView and the video plays fine. But it takes 开发者_C百科time to buffer the video and then display video.

I am running the YouTube video on the UIWebView and the video plays fine. But it takes 开发者_C百科time to buffer the video and then display video. So i require 2 delegates to handle the following events: -- When the YouTube actually starts playing the vedio. -- When the UIWebView is quit from the actual view. Any help on these will be a great help for me. Thank you in advance.


Following is the delegate method of UIWebview control and it raise when video is about to start.

    - (BOOL)webView:(UIWebView *)myWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType{}
0

精彩评论

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