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{}
精彩评论