views:

1450

answers:

2

When I load a HTML page with a .MOV embedded video on my App using a UIWebview it appears a broken icon, any idea? The same HTML page on Iphone Safari works fine and the media player is started without problem...

+1  A: 

Where is the webpage? Is it embedded in your app? If you not giving the UIWebView a URL to load it from the server where it is make sure you set the baseURL properly so that the webview knows how to handle handle relative URLs.

Louis Gerbarg
A: 

I have the same problem: I wanted to embed the video with the HTML5 tag but it didn't worked => the video isn't found. My idea is to get an onClick event which doesn't work with MPMoviePlayerController I think.

I've set the baseURL properly, images in the same directory as the video are displayed normally.

Thank you for you answers,
Le Milonkh

Le Milonkh