Page MenuHomePhabricator

Wrong MIME type (audio/webm) for WebM videos, should be video/webm
Closed, ResolvedPublic

Description

WebM videos are served with a wrong MIME type. It's always the following:

Content-Type: audio/webm

For videos this should be:

Content-Type: video/webm

See http://www.webmproject.org/docs/container/ for more information.

It seems to be no problem inside the html video tag, but there are programs which don't show the video if the content-type is "audio/webm" and the file is called directly.


Version: wmf-deployment
Severity: normal

Details

Reference
bz43476

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:10 AM
bzimport set Reference to bz43476.
bzimport added a subscriber: Unknown Object (MLST).

Umherirrender: Good catch, thanks!
Patch merged => closing bug report as FIXED.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:25 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:22 AM

@Aklapper Hello! It says that this was fixed but https://commons.wikimedia.org/wiki/Special:Search/filemime:audio/webm still has a bunch of hits that are videos. Do you know why?

@Jonteemil: Hi. If there is a similar problem 8.5 years later, then please feel free to follow https://www.mediawiki.org/wiki/How_to_report_a_bug and file a new ticket. Thanks!