There are some apps in the app store that have a video stream without using mpvideo and they are embbeded on the uiview or uiwebview. How is this implementation done? Any help is great thanks.
+1
A:
Probably with the standard HTML5 <video>
tag. It allows you to play a video file that is local or remote. Or even a live stream. Check Apple's Safari Dev Center for all details.
St3fan
2010-08-31 03:57:38
+1
A:
You can try to load the HTML code into the webview itself with loadHTMLString:
The method is part of UIWebView and looks something like this:
[self.webview loadHTMLString:(NSString *)_some_string baseURL:nil]
You can store a basic html page with the embed code for the video in the _some_string variable and it will load up that page with the embed code.
NSString *html = @"\
<html>\
<head></head>\
<embed code for video here>\
</body></html>";
[self.webView loadHTMLString:html baseURL:nil];
Kennzo
2010-08-31 07:02:14