Reputation: 345
In order to get > 10 minute videos on my app accepted, I need to implement a html5 video in a webview. The video is linking as I can hear the audio but the video is a black screen. The videos are all mp4 and I am using the following html
<html><body style="margin: 0; padding: 0;"><video width="480" height="300" controls="controls"><source src="'+video+'" type="video/mp4"></video></body></html>
can anyone help me get my imagery viewing?
Upvotes: 0
Views: 1454
Reputation: 7539
I am going to guess that it is the video format that is the issue.
Here is what is suported:
H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 Audio: AAC-LC up to 160 Kbps, 48kHz, stereo File types: .m4v, .mp4, and .mov
MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile Audio: AAC-LC up to 160 Kbps per channel, 48kHz, stereo File types: .m4v, .mp4, and .mov
Miro might help you out, since it has a "for iphone" option that sets up the video just right.
Upvotes: 1