Firefox no longer plays WebM video (HTML 5)

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Locked
User avatar
LoRd_MuldeR
Posts: 204
Joined: January 21st, 2007, 2:26 pm

Firefox no longer plays WebM video (HTML 5)

Post by LoRd_MuldeR »

Hello.

Can anybody explain to me why Firefox (latest version) suddenly refuses to play the WebM video on my site? :?:
http://lamexp.sourceforge.net/demo.html

All I get is this:
Image

The crazy thing is that it used to work a while ago. Also, the exactly same code works fine on another server!
http://muldersoft.com/temp/video_test/demo.html

The code is just standard HTML 5 video tag:

Code: Select all

<video width="710" height="526" controls autoplay loop style="border-style:solid;border-collapse:collapse;border-color:#202020;border-width:2px;margin:auto" preload="none">
    <source src="img/mov/lamexp.webm" type="video/webm">
    <source src="img/mov/lamexp.mp4" type="video/mp4">
</video>


Somewhere I read that it might be a server issue, because the server is sending a wrong MIME type for the WebM file.

But that's definitely not the case here! I can see, in Wireshark, that Firefox doesn't even try to GET the WebM file, so we don't even get to the point where the server could send anything. It's almost certainly not a server issue :roll:

Any help would be appreciated...
Last edited by LoRd_MuldeR on November 1st, 2015, 2:12 pm, edited 1 time in total.
User avatar
RobertJ
Moderator
Posts: 10880
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Re: Firefox no longer plays Webm video (HTML 5)

Post by RobertJ »

.
I'm moving this to Web Development where you are more likely to get help with your issue.

.
FF 92.0 - TB 78.13 - Mac OSX 10.13.6
Dom1953
Posts: 52
Joined: July 24th, 2014, 6:02 am
Location: Australia

Re: Firefox no longer plays WebM video (HTML 5)

Post by Dom1953 »

I can only report it works for me: 58 seconds of encoding files video, URL http://lamexp.sourceforge.net/demo.html, video file http://lamexp.sourceforge.net/img/mov/lamexp.webm, Firefox 41.02, Windows 7, win32
User avatar
dickvl
Posts: 54146
Joined: July 18th, 2005, 3:25 am

Re: Firefox no longer plays WebM video (HTML 5)

Post by dickvl »

Did you check prefs like media.*enabled on the about:config page?

You can try to use the Live Http Headers extension to check the request and response headers.
https://addons.mozilla.org/firefox/addo ... p-headers/

You can also check the Web Console and the Network Monitor.
https://developer.mozilla.org/Tools/Network_Monitor
User avatar
LoRd_MuldeR
Posts: 204
Joined: January 21st, 2007, 2:26 pm

Re: Firefox no longer plays WebM video (HTML 5)

Post by LoRd_MuldeR »

dickvl wrote:Did you check prefs like media.*enabled on the about:config page?

They are all on default. Also, as said before, on the other server the exactly same code work just fine...


dickvl wrote:You can try to use the Live Http Headers extension to check the request and response headers.
https://addons.mozilla.org/firefox/addo ... p-headers/

Okay, the output of Live Http Headers looks like this:
http://i.imgur.com/De5mrxf.jpg

But in Wireshark we can see that Firefox doesn't actually request the file from the server:
http://i.imgur.com/cL6Clr9.png

On the other server, it does request the WebM file...

What makes the difference :-k
johnmacd
Posts: 34
Joined: June 13th, 2013, 4:27 am

Re: Firefox no longer plays WebM video (HTML 5)

Post by johnmacd »

Hi,

Firefox supposedly also plays .webm files but I found it works best with .ogg/.ogv video files.
<video id='video' autoplay controls>
<source src='videos/my-file.mp4' type='video/mp4' />
<source src='videos/my-file.ogg' type='video/ogv' />
</video>

Thanks
WordPress Developer Miami providing best WordPress Websites for small businesses.
Locked