Chrome does not display html5 video but plays audio

There seems to be something wrong with my HTML page or there is a bug in chrome. (I seriously doubt the future). However, he manages to play FF ​​18, while Safari 602

My page is as follows:

404.php

<!DOCTYPE html> <html lang="en"> <meta charset="utf-8"> <title>chrisrjones.com - 404 - File Not Found</title> <body> Nope. <br /> <!-- first try HTML5 playback: if serving as XML, expand `controls` to `controls="controls"` and autoplay likewise --> <!-- warning: playback does not work on iPad/iPhone if you include the poster attribute! fixed in iOS4 --> <video width="274" height="256" autoplay> <!-- MP4 must be first for iPad! --> <source src="../files/ahah-mp4-2.mov" type="video/mp4"> <source src="../files/ahah.webm" type="video/webm"> <!-- Chrome10+, Ffx4+, Opera10.6+ --> <source src="../files/ahah.ogv" type="video/ogv"> <!-- Firefox3.6+ / Opera 10.5+ --> Your browser does not support the video tag. <!-- fallback to Flash: --> <!-- source: http://helpx.adobe.com/flash/kb/object-tag-syntax-flash-professional.html --> </video> </body> </html> 
+4
source share
2 answers

The file http://chrisrjones.com/files/ahah-mp4-2.mov is sendt with the MIME type: video / quicktime.

Try sending it with the MIME type: video / mp4.

And encode the video in H.264.

If it does not work in Internet Explorer, it is agile because the video is not encoded in H.264.

+1
source

For some reason, if you enable the "control" function of the video tag, the video is displayed in chrome on OS X. So far, the only browser that does not show the video file is chrome Version 24.0.1312.52 for OS X. I downloaded the latest version of the vanilla copy of Chrome for Windows 7 and showed video files.

Now all I have to do is find out why the video does not play in Internet Exploder sigh

0
source

All Articles