You are not logged in.

#1 2010-02-09 01:46:26

big_gie
Member
Registered: 2005-01-19
Posts: 637

[solved] Html5 video, Lighttpd and Firefox

Hi,
I installed Lighttpd because we need a simple httpd for sahring files and static content.

I want to use the new html5 <video> tag with ogg+theora video (see http://camendesign.com/code/video_for_e … /test.html ). I cannot make it work through Lighttpd and firefox though. My simple html file is: http://paste.lighttpd.net/867 and my config file is http://paste.lighttpd.net/866 (note that I added these mime-types which were absent of the default config file:
".ogx" => "application/ogg",
".ogv" => "video/ogg",
".oga" => "audio/ogg",
".mp4" => "video/mp4",
".m4v" => "video/mp4",
".m4a" => "audio/mpeg",)

If I load the page through Chromium, the video plays.

I am able to play the video in firefox only if I set <source src="" /> to be hosted somewhere else, for example here: http://tinyvid.tv/vfe/big_buck_bunny.ogv I can also see the video here http://camendesign.com/code/video_for_e … /test.html under firefox just fine. It's just firefox+lighttpd that does not work.

Is something wrong with the configuration file? Something special needs to be set?? Thanx for your help.

I'm running Lighttpd 1.4.26 from extra on the server, and firefox (Namoroka) 3.6 and Chromium (not Chrome) built from svn 5.0.318.0 (38103) on client.

My best guess would be that Lighttpd is confused with mime types, which then confuses firefox...

Anyone has an idea?

Thanx

Last edited by big_gie (2010-02-10 17:23:40)

Offline

#2 2010-02-09 22:45:01

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: [solved] Html5 video, Lighttpd and Firefox

I tried on another computer running Arch too and firefox was working!!
Both are firefox 3.6-2

Offline

#3 2010-02-10 17:23:28

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: [solved] Html5 video, Lighttpd and Firefox

The culprit was firefox's profile: removed it and now it works.

Offline

Board footer

Powered by FluxBB