Page MenuHomePhabricator

TMH considers original video asset as video/webm; codecs="vorbis, vp8", but refuses to play because it only supports video/webm; codecs="vp8, vorbis"
Closed, ResolvedPublic

Description

Consider https://commons.wikimedia.org/wiki/File:Diamond_Trust_of_London_-_Kickstarter.webm

There is the original file + a low quality ogg transcode. The original file should be selected on firefox/chrome as best transcode (And on android it should be the only choice).

However, the original version is detected as having mime video/webm; codecs="vorbis, vp8". TMH does a string comparision in mw.MediaPlayer.js (mw.MediaPlayer.prototype.supportsMimeType) to video/webm; codecs="vp8, vorbis" and determines they are not equal, and refuses to select the original asset to play, resulting in the ogg file being used on firefox, and the not supported msg on android native browser.

Original report https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&oldid=151985029#Video_quality_fixed_incorrectly

Event Timeline

Bawolff raised the priority of this task from to Needs Triage.
Bawolff updated the task description. (Show Details)
Bawolff added subscribers: Bawolff, Gilles.

Change 194918 had a related patch set uploaded (by Brian Wolff):
Make mime type check more robust

https://gerrit.wikimedia.org/r/194918

Change 231309 had a related patch set uploaded (by Brion VIBBER):
Fix playback of WebM source files

https://gerrit.wikimedia.org/r/231309

Change 231309 merged by jenkins-bot:
Fix playback of WebM source files

https://gerrit.wikimedia.org/r/231309

brion claimed this task.

This change went live; confirmed fixed on original reported file.

Jdforrester-WMF moved this task from Untriaged to Done on the Multimedia board.
Jdforrester-WMF set Security to None.

Change 244826 had a related patch set uploaded (by Paladox):
Fix playback of WebM source files

https://gerrit.wikimedia.org/r/244826

Change 244826 merged by jenkins-bot:
Fix playback of WebM source files

https://gerrit.wikimedia.org/r/244826

Change 194918 abandoned by Brian Wolff:
Make mime type check more robust

Reason:
No longer caring about this patch

https://gerrit.wikimedia.org/r/194918