Last modified: 2012-11-13 15:34:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42070, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40070 - Please make Cortado path configurable
Please make Cortado path configurable
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Michael Dale
:
Depends on:
Blocks: 27699
  Show dependency treegraph
 
Reported: 2012-09-07 06:55 UTC by Faidon Liambotis
Modified: 2012-11-13 15:34 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Faidon Liambotis 2012-09-07 06:55:28 UTC
We need to move cortado.jar from upload to bits and in attempt to do so we noticed that the cortado.jar URL is hardcoded in the code and specifically in MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayerJava.js.

Please make the path configurable, so that we can switch it. For comparison, OggHandler has a $wgCortadoJarFile setting in CommonSettings.php.

Thanks,
Comment 1 Michael Dale 2012-09-20 20:02:32 UTC
Cortado has to be on the same domain as the media to not trigger the java security warnings. ( i.e you can't really move it to bits .. unless your serving all media assets from bits ) 

But we can relatively easily add support for a $wgCortadoJarFile override if you want to change its wmf location.  https://gerrit.wikimedia.org/r/24476
Comment 2 Faidon Liambotis 2012-09-20 20:59:54 UTC
That used to be the case but it's not anymore. Java from v6 upd 10 supports a limited set of Flash's crossdomain.xml functionality. I've added a crossdomain.xml on upload.wm.org last week, did a quick version survey using logs & User-Agent strings and Tim deployed a switch of Cortado to bits this week for OggHandler.

Note that there's a slight exception to this: IcedTea does not support crossdomain.xml, even at the latest version. However, Cortado never worked with IcedTea for different reasons and as far me and Tim can see, so this isn't a concern.
Comment 3 Michael Dale 2012-10-04 00:56:15 UTC
24476 was merged closing bug.
Comment 4 Andre Klapper 2012-11-13 12:53:01 UTC
<paravoid> this was solved but I'm not sure it's actually configured
<paravoid> I tried to check but with browser autodetection and everything I only get an HTML5 <video>
Comment 5 Faidon Liambotis 2012-11-13 15:34:04 UTC
Jan was quick enough to answer me on IRC and immediately fix this in TMH:
https://gerrit.wikimedia.org/r/#/c/33173

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links