I created a universal xcode project, I'm trying to load an HTML5 page in a UIWebView
the problem is that I donβt see any movie playback control, and I get a blank screen on the video
place in ipad and iphone simulator,
my .html file
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta name="viewport" content="width=default-width; user-scalable=no" /> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Web App Demo</title> </head> <body> <h1>Video Test</h1> <p>This is a video test.</p> <video width="320" height="240" controls= "controls"> <source src="video.ogv" type="video/ogg" /> <source src="video.mp4" type="video/mp4"/> browser not supports the video </video> </br> <br/> <h1>This is Audio </h1> <b>Testing Audio </b> <audio controls="controls"> <source src="audio.ogg" type="audio/ogg" /> <source src="audio.mp3" type="audio/mpeg"/> browser not supporting audio </audio> </body> </html>
Any help why he is not playing in the simulator.
Thanks in advance.
source share