Last modified: 2012-12-31 12:05:01 UTC
I can not play the WebM transcoded videos in Firefox Test Cases: * https://commons.wikimedia.org/wiki/File:Le_Voyage_dans_la_Lune_%28Georges_M%C3%A9li%C3%A8s,_1902%29.ogv * https://commons.wikimedia.org/wiki/File:Yochai_Benkler_-_On_Autonomy,_Control_and_Cultural_Experience.ogg * ... Symptoms: * Error message appears on top right corner saying ''Error: [object Object] at line undefined: [object Object]'' * Firebug says: HTTP "Content-Type" of "text/plain" is not supported. Load of media resource https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Le_Voyage_dans_la_Lune_%28Georges_M%C3%A9li%C3%A8s%2C_1902%29.ogv/Le_Voyage_dans_la_Lune_%28Georges_M%C3%A9li%C3%A8s%2C_1902%29.ogv.480p.webm failed. https://bits.wikimedia.org/commons.wikimedia.org/load.php?debug=false&lang=de&modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&only=scripts&skin=vector&version=20121126T175337Z Line 43 * Can not view the WebM file in firefox at all ( Download this file - window appears)
curl -I 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/Le_Voyage_dans_la_Lune_%28Georges_M%C3%A9li%C3%A8s%2C_1902%29.ogv/Le_Voyage_dans_la_Lune_%28Georges_M%C3%A9li%C3%A8s%2C_1902%29.ogv.480p.webm' Content-Type: text/plain X-Object-Meta-Sha1base36: a296ylotzsh9bl0roptci8mii1ubwi6 Last-Modified: Sat, 10 Nov 2012 09:26:46 GMT ETag: 50a96b85f1c6593fc95c3fd6fdfd1529 X-Timestamp: 1352539606.35070 ... X-Cache: HIT from amssq61.esams.wikimedia.org When adding ?nocache to the URL, I end up with the expected output: Content-Type: audio/webm X-Object-Meta-Sha1base36: a296ylotzsh9bl0roptci8mii1ubwi6 Last-Modified: Sat, 10 Nov 2012 09:26:46 GMT ETag: 50a96b85f1c6593fc95c3fd6fdfd1529 X-Timestamp: 1352539606.35070 ... So apparently we had something wrong in MediaWiki at some point and had this file cached in Varnish :/
Thanks you for the info. Though I am still not sure how to fix this for users who do not want to put ?nocache at the end of the url.
the underlying issue has been fixed, in addition a change to TMH has been merged but is not deployed on commons, once this is in production you can run ?action=purge on the file and the cache will be purged too. Will leave this bug open until commons allows ?action=purge to purge squid caches.
*** Bug 43215 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > the underlying issue has been fixed, in addition a change to TMH has been > merged but is not deployed on commons, once this is in production you can run > ?action=purge on the file and the cache will be purged too. > Will leave this bug open until commons allows ?action=purge to purge squid > caches. Seems to be fixed by now? true?