My brother showed me this post at hacks.mozilla.org on how to do the much bitched about html5 video tags. So I totally had to do it, and I did.
Here is my page http://numberedhumanindustries.com/video
The cool thing is that you can have it degrade codecs and and even all the way to flash. The first (intro) video is this way, but the rest are theora/vorbis file (yeay freedom!) So here is a little howto.
First You need a place to store the vids that you can link to. If you have dropbox you could put the vids in your public folder and link there.
To have a just theora/vorbis vid (because you love freedom) the code looks like this:
To have a theora/vorbis vid that degrades to mpeg4 the code looks like this:
Now if you need it to degrade all the way to flash (puke) then it would look like this:
ok that is the long and short of it. Not bad at all but you need to have Firefox 3.5 and some versions of Opera/Chrome/and possibly Safari with some extra codecs that screws the whole idea.
**EDIT: ok so I’m not smart enough to get the code to show up so just check out the mozilla hack page I was just copying from them anyway 🙂
Okay Steve listen up, YOU CAN’T STOP THE INEVITABLE! At what point did you think that a little sha checksum would stop us, the determined, the diligent, and the free? Ok you’re trying to stop the same people that cracked DVD’s (yes DVD John cracked CSS so that he could play DVD’s on his Linux box), the same people who are reimplementing WindowsNT (check out ReactOS, it’s finally getting places), and the same people who built the technology that your precious OSX is built on (Darwin is an off shoot of one of the various BSD’s) . You silly. silly man. Thanks to the crew that code on GTKpod we now can use your freedom hating, DRM using, sickeningly trendy, digital music product. here is a little glimpse into the that triumphant moment
From #gtkpod today:
wtbw: okay guys
wtbw: i think we’re done.
wtbw: let me code something just to check
[30 minutes later]
wtbw: can i hear a fuck yeah?
wtbw: works for both mine and xamphears :>
donations from thankful users can be sent to Cancer Research UK.
Steve we don’t like working this hard, just keep it free and open and no one’s feeling will get hurt, Okay?
Oh BTW: it’s not free software without some code
Okay anyone know where I can send this?