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


Article Images

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