I found other posts here for the same issue, like this or this but I wasn't able to solve my issue.
At first, I run below javascript:
<script type="text/javascript">
var options = JSON.stringify({'maxSize': 320, 'videoQuality': 6, 'noaudio': true});
ogg.encode(options);
</script>
Then I have below html:
<video id="video1" width="500" controls="controls" >
<source src="Rio2Trailer.mp4" type="video/mp4"/>
<source src="Rio2Trailer.ogv" type="video/ogg"/>
<source src="Rio2Trailer.webm" type="video/webm" />
The browser does not support HTML5 video.
</video>
I tried adding
AddType video/webm .webm
AddType video/mp4 .mp4
to the .htaccess file(which was empty) but no success.
On Firefox, i get the message:
No video with supported format and MIME type found.
On Chrome, I can just see the controls but they look like they are disabled and I don't see the play button in the middle of the screen as well.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…