Hi
I am trying to access youtube.com through a WebKit WebView in my native Mac App.
The problem is that YouTube videos just show as black squares (see image below). However, if I click them they start to play (but stay black) - the sounds starts. I can also right click and the YouTube right click menu comes up (with things like 'Stats for Nerds').
Does anyone know what is happening here?
I use the standard WebView component, dragged in in Interface Builder. In my header I have the standard:
and in my .m the standard:
The same thing happens when I access a site with an embedded YouTube video.
Thanks!
Sam
I am trying to access youtube.com through a WebKit WebView in my native Mac App.
The problem is that YouTube videos just show as black squares (see image below). However, if I click them they start to play (but stay black) - the sounds starts. I can also right click and the YouTube right click menu comes up (with things like 'Stats for Nerds').
Does anyone know what is happening here?
I use the standard WebView component, dragged in in Interface Builder. In my header I have the standard:
Code:
IBOutlet WebView *firstWebView;
Code:
[firstWebView setHidden:FALSE];
[[firstWebView mainFrame] loadRequest:[NSURLRequest requestWithURL: [NSURL URLWithString:@"http://youtube.com"]]];
Thanks!
Sam