Can’t publish HTML5 video

Mysterious. I can’t publish Ogg video using the HTML5 video tag, and I don’t know why. Observe (in Firefox 3.5, or I think beta Opera supports it):

My video (doesn’t work)

<video controls src="http://www.kryogenix.org/random/couch-firefox-bookmarks-initial.ogv" type="video/ogg">  
Your browser does not support the video element.</video>

### Mozilla’s video (does work)

### Headers from each [email protected]:~$ HEAD http://www.kryogenix.org/random/couch-firefox-bookmarks-initial.ogv 200 OK Connection: close Date: Mon, 06 Jul 2009 21:09:00 GMT Accept-Ranges: bytes ETag: “2b918c-81578-7e099f80” Server: Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 mod_fastcgi/2.4.2 PHP/4.3.10-18 Content-Length: 529784 Content-Type: video/ogg Last-Modified: Mon, 06 Jul 2009 19:27:10 GMT Client-Date: Mon, 06 Jul 2009 20:50:28 GMT Client-Peer: 89.16.177.185:80 Client-Response-Num: 1 [email protected]:~$ HEAD http://videos.mozilla.org/firefox/3.5/meet/meet.ogv 200 OK Connection: close Date: Mon, 06 Jul 2009 20:50:35 GMT Accept-Ranges: bytes ETag: “a6d6f5-7c0181-da8672c0” Server: Apache/2.2.3 (Red Hat) Content-Length: 8126849 Content-Type: video/ogg Last-Modified: Fri, 19 Jun 2009 15:05:23 GMT Client-Date: Mon, 06 Jul 2009 20:50:35 GMT Client-Peer: 63.245.208.152:80 Client-Response-Num: 1 X-Pad: avoid browser bug I don’t get it. What am I doing wrong? Is the mysterious `X-Pad` header something to do with it? **Update:** apparently it works for everyone but me, so I assume Firefox has cached the wrong content type somewhere (it was text/plain at first, oops).

I'm currently available for hire, to help you plan, architect, and build new systems, and for technical writing and articles. You can take a look at some projects I've worked on and some of my writing. If you'd like to talk about your upcoming project, do get in touch.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)