This is as days pass by, by Stuart Langridge

And this is Can't publish HTML5 video, written , and concerning Rants, Web, and Software

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)

<video controls src="http://videos.mozilla.org/firefox/3.5/meet/meet.ogv" type="video/ogg">  
Your browser does not support the video element.  
</video>

Headers from each

aquarius@dell-desktop:~$ 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

aquarius@dell-desktop:~$ 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).

Comments

YaManicKill

Its working for me, here. It's just quite big. Running firefox 3.5

Bill Mill

Bug status changed to "closed"; resolution: wfm (ff 3.5, OS X 10.5)

Pete

Works for me too on ff 3.5, also rather oversized

sil

what? so it works for all you guys and not me? wtf?

I shall restart Firefox.

sil

Restarting has not helped. Maybe the content type (it was wrong initially) is cached somewhere? sigh.

triton

works for me too.

Simon

Works for me also. One possibility - are you viewing your site directly, or through some proxy like an RSS reader? Tools like Google Reader don't handle the video tag, so if I view this post through that, I get fallback text.

sil

oh well, it must just be me. Mysterious. Still, never mind :)

Chris

Works for me... FF 3.5 running on OS X. I recommend using Firebug and web developer for what ails ye. ymmv...

Bill Creswell

Both work in Chrome 3 too.

Dave Walker

The embedded video also works for me. *However*, being oversized is making the "months" column of your blog go directly through the middle for a double phail.

I can't comment too much, as my crap theme does the same thing on my blog :)

Stuart Langridge: Can’t publish HTML5 video | Full-Linux.com

[...] related to your search Stuart Langridge: Can’t publish HTML5 video is now available in this link…: News [...]

Hein-Pieter van Braam

Works fine here too, bit too big, but worked immediately

This website belongs to Stuart Langridge. Contact details are available. Don't eat yellow snow. Valid HTML5, at least in theory, except for the bits that aren't because I'm that futuristic that I'm ahead of the spec, oh yes. HTML5 help from Bruce Lawson, among others. Fonts from the superb FontSquirrel. End.