Last modified: 2013-12-04 15:52:13 UTC
In the new webplayer, web controls are used for Cortado. On Safari, i get the following error. Error: java.security.PrivilegedActionException: sun.plugin.liveconnect.OriginNotAllowedException: JavaScript is not from the same origin as the Java code, caller=http://commons.wikimedia.org/wiki/Main_Page, callee=http://upload.wikimedia.org/jars/cortado.jar at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.liveconnect.SecureInvocation.CallMethod(SecureInvocation.java:128) at sun.plugin.liveconnect.SecureInvocation.access$300(SecureInvocation.java:51) at sun.plugin.liveconnect.SecureInvocation$CallMethodThread.run(SecureInvocation.java:177) Caused by: sun.plugin.liveconnect.OriginNotAllowedException: JavaScript is not from the same origin as the Java code, caller=http://commons.wikimedia.org/wiki/Main_Page, callee=http://upload.wikimedia.org/jars/cortado.jar at sun.plugin.liveconnect.SecureInvocation.checkLiveConnectCaller(SecureInvocation.java:393) at sun.plugin.liveconnect.SecureInvocation.access$000(SecureInvocation.java:51) at sun.plugin.liveconnect.SecureInvocation$2.run(SecureInvocation.java:133) ... 4 more This should probably be try/caught and then switch back to Cortado native controls. It might be possible that with CORS (bug 20298) this problem could be dealt with, but I haven't tested this, nor been able to confirm it.
Possibly related useful info: http://jimbojw.com/t/index.php?title=Opera_LiveConnect_OriginNotAllowedException
[As per bug 54063 comment 2 tentatively moving to TimedMediaHandler component + setting to lowest priority && unconfirmed, as this was filed against old code. Might be worth to just close if nobody confirms that this is still a problem.]