开发者

How to Play High resolution youtube video in iPhone?

I want to play high resolution YouTube video in my native application this video:http://www.youtube开发者_开发问答.com/v/279x-tNx_Gw&hl=de_DE&fs=1 in my application so what should i do?


try this it may help.

NSString* embedHTML = [NSString stringWithFormat:@"body { background-color: transparent; color: white; } ",videourl];
//NSString* html = [NSString stringWithFormat:embedHTML];
if(webView == nil) {
CGRect frame = CGRectMake(0,0,200,200); webView = [[UIWebView alloc] initWithFrame:frame];
[self.view addSubview:webView];
}
[webView loadHTMLString:embedHTML baseURL:nil];

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜