开发者

Youtube play and quit options handling

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜