I have an MP4 video that I am trying to play via HTML5 on Android and iPad.
The html code is
<video width="510" height="315" autobuffer controls >
<source src="video.mp4" type="video/mp4" />
</video>
The media information on the video from VLC is
Stream 0:
Type: Video
Codec: H264 - MPEG-4 AVC (part 10) (avc1)
Resolution: 856x368
Frame rate: 23.976000
Decoded format: Planar 4:2:0 YUV
Stream 1
Type: Audio
Code: MPEG AAC Audio (mp4a)
Channels: Stereo
Sample rate: 44100 Hz
I created the video by converting another using ffmpeg using vcodec libx264 acodec aac
The iPad just shows a play icon with a line through on a black screen
Is this likely to happen because the video is in the wrong format?