KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to show a website inside app. The website which i am trying to load has got a youtube video in it. The website loads properly in UIWebView and also lists the youtube video. But when I click on youtube video, the app crashes. Crash log just says: setting movie path: http://r19---sn-aig7knl7.c.youtube.com/videoplayback?............... The website when loaded in Safari works fine, it even plays youtube video full screen. Please help me in fixing this issue. 11 Feb 2013 - UPDATE The issue is observed only on iOS Simulator 6.1. On Device everything works fine. Detailed Info: I have a custom UIViewController(TestWebViewController) which has an instance of UIWebView and implements UIWebViewDelegate. I have added a UIViewController in Storyboard and added UIWebView inside it, linked this UIViewController to my custom TestWebViewController and linked IBOutlet and delegate for UIWebView. On Clicking a button, I am programmatically instantiating TestWebViewController using TestWebViewController *testWebVC = [self.storyboard instantiateViewControllerWithIdentifier:@"testWebVC"]; testWebVC.view.frame = self.view.frame; [testWebVC loadWebViewWithUrl:TEST_URL]; [self presentViewController:testWebVC animated:YES completion:nil];
Tags (comma-separated)
Save Edits
Cancel