0

I have a .mov file in my backend servers. I want to play this in UIWebView instance. This is how i am doing it using HTML5

NSString *html = [NSString stringWithFormat:@"<video src='%@' controls autoplay height='480' width='640'> </video>",[mediaUrl absoluteString]];
[self.webView loadHTMLString:html baseURL:[NSURL URLWithString:@""]];

The thing is mediaUrl hits an API on my backend servers which does a HTTP redirect to the .mov file. This is not working in UIWebView. How do i solve this?

Filburt
  • 17,626
  • 12
  • 64
  • 115
Srikar Appalaraju
  • 71,928
  • 54
  • 216
  • 264

1 Answers1

0

Why you don't want to use MPMoviePlayerViewController?

Pavel Reznikov
  • 2,968
  • 1
  • 18
  • 17