Pipe videos do not play in iOS6

I am using iOS6 beta youtube videos that are not playing in my application in this version.

How can I fix this problem?

+5
source share
1 answer

Please write how you upload a video from YouTube. Because the only thing I read is that the Youtube app is no longer in iOS6, but it should continue to work. Anyway, try

NSString* embeddedCode = @"embed code of the youtube video"
UIWebView* videoView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)]; 
[videoView loadHTMLString:embeddedCode baseURL:nil];
[self.window addSubview:videoView];

Hope this works, but in case it's not just a comment, and I can try something else.

+1
source

All Articles