I have some problems with the <video> element that I assume. I have a small demo page where I launch a video. This file is available in .webm , .mp4 and .ogv . Video plays correctly in Firefox (10) mac + win, Safari mac, Chrome mac.
Neither the Safari browser version nor Chrome play / show this video file (maybe Webkit problem?). Here's what the HTML looks like:
<video controls> <source src="video/chicane.webm" type='video/webm; codecs="vp8, vorbis"'/> <source src="video/chicane.mp4" type="video/mp4"/> <source src="video/chicane.ogv" type="video/ogv"/> </video>
I also use the .htaccess file to normalize MIME types, looks like
Having looked at the Chromes or Safaris developer tools (tab on the network), it looks like he wants to play the .webm file, but he canβt display the mime type (shows undefined), plus it seems like trying to access the files twice.
See for yourself:
http://www.typeofnan.com ("awesome tab")
I have no clue why it works fine on OSX with both browsers, if someone can detect a bug on the site, please let me know. Currently, I have discovered some functions and used Javascript for .play() video. However, if I use the autoplay attribute in the <video> , Chrome at least plays audio, but still no video.
Link: Source site on github
jAndy source share