Last modified: 2014-02-28 22:40:06 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 T43274, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41274 - Cortado doesn't work on Mac with Oracle JRE 7 update 9
Cortado doesn't work on Mac with Oracle JRE 7 update 9
Status: RESOLVED WONTFIX
Product: Cortado
Classification: Unclassified
User interface (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
wikimedia[unmaintained]
: upstream
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-22 16:44 UTC by Derk-Jan Hartman
Modified: 2014-02-28 22:40 UTC (History)
2 users (show)

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


Attachments
cortado play log (21.08 KB, text/plain)
2012-10-22 16:44 UTC, Derk-Jan Hartman
Details

Description Derk-Jan Hartman 2012-10-22 16:44:19 UTC
Created attachment 11217 [details]
cortado play log

Playback never starts and the Cortado reports:

ERROR, Not allowed https://upload.wikimedia.org/wikipedia/commons/3/36/Mirror-Induced-Behavior-in-the-Magpie-%28Pica-pica%29-Evidence-of-Self-Recognition-pbio.0060202.sv009.ogv...

Complete log attached
(The stacktrace has to do with a cache file being in Mac OS X quarantine (mistake in the Oracle installer it seems))
Comment 1 Derk-Jan Hartman 2012-10-22 16:46:30 UTC
We could probably solve this by installing a crossdomain.xml on all our domains: Here is twitter's version of it.

http://twitter.com/crossdomain.xml
Comment 2 Brion Vibber 2012-10-22 16:49:51 UTC
Note that Apple's Java 6 no longer seems to allow the browser plugin at all, either, and points at Oracle's JRE 7 download page. Bleeeeeeeh!

Hopefully TimedMediaHandler and MP4 transcoding will make this fully obsolete soon...
Comment 3 Derk-Jan Hartman 2012-10-22 16:51:55 UTC
Specifically, I have JRE7 update 9 installed. I suspect this problem might not be Mac specific, but likely is depending on the JRE version/update you have installed.
Comment 4 Derk-Jan Hartman 2012-10-22 16:54:11 UTC
@Brion exactly why i was testing this today. The test used the oracle browser plugin.

(The oracle java plugin doesn't work with Chrome for Mac btw, since Chrome is 32bit only and JRE7 for mac is 64 bit only, but there we have built in support, so it doesn't really affect us.)
Comment 5 Derk-Jan Hartman 2012-10-22 20:45:48 UTC
Actually, it seems we already have a crossdomain.xml....

http://upload.wikimedia.org/crossdomain.xml

The last message is "network: Encoding for http://upload.wikimedia.org/crossdomain.xml : null" so perhaps it's tripping over the lack of specified encoding or content-type... or it's just expecting xmlns attributes these days. can be many things I guess.
Comment 6 Derk-Jan Hartman 2012-10-22 21:13:47 UTC
Note how it went from:

[INFO] trying to open https://upload.wikimedia.org/wikipedia/commons/3/36/Mirror-Induced-Behavior-in-the-Magpie-%28Pica-pica%29-Evidence-of-Self-Recognition-pbio.0060202.sv009.ogv at offset 0

to:

network: Cache entry found [url: http://upload.wikimedia.org/crossdomain.xml, version: null] prevalidated=false/0
cache: Resource http://upload.wikimedia.org/crossdomain.xml has expired.

https -> http, indeed if I open from http://commons.wikimedia.org then the cortado player functions.
Comment 7 Rob Lanphier 2012-11-01 00:20:32 UTC
Getting replaced by TMH very soon, so probably moot.
Comment 8 Rob Lanphier 2012-11-01 00:22:15 UTC
Tim tells me that this should probably be filed upstream anyway.

https://trac.xiph.org/report/24
Comment 9 Andre Klapper 2012-11-01 12:52:33 UTC
(In reply to comment #8)
> Tim tells me that this should probably be filed upstream anyway.

Upstreamed as https://trac.xiph.org/ticket/1911
Comment 10 Derk-Jan Hartman 2012-11-01 13:36:40 UTC
Probably there are two issues here:

1: stupid isAbsolute check in Cortado...
      isAbsolute = urlString.startsWith("http://");

2: Broken getDocumentBase() in Oracle JRE applet browser plugin. I don't see this property being set in the Cortado log, and it seems that the 'relative' document parsing of Cortado depends on the documentBase.


try {
          documentBase = getDocumentBase();
          Debug.log(Debug.INFO, "Document base: " + documentBase);
        }
        catch (Throwable t) {
          documentBase = null;
        }

Both should be fixed upstream.
Comment 11 Derk-Jan Hartman 2012-11-01 13:38:09 UTC
to clarify: 2 is what breaks playback, 1 is what accidentally makes it work on http:// urls due to a built in IE6 workaround, but the workaround is faulty and incomplete.
Comment 12 Andre Klapper 2012-12-17 12:14:15 UTC
TimedMediaHandler was deployed at the beginning of November 2012, see
https://www.mediawiki.org/wiki/TimedMediaHandler and http://blog.wikimedia.org/2012/11/08/introducing-wikipedias-new-html5-video-player/ for more information.
It is based on HTML5 and supports closed captions, timed text, WebM, etc.

This bug report was reported about "Cortado". With TimedMediaHandler being in place, Cortado is now ONLY used as a fallback for web browsers that do not support any of the video codecs we offer but have Java installed. This currently is Apple Safari without XiphQt installed, or Microsoft Internet Explorer with Java applet installed. 

Please add a comment here in case that you still face the problem described (now with Cortado inside of TimedMediaHandler) if using one of the browsers mentioned above. In that case, this report should be moved to product="MediaWiki extensions" and component="TimedMediaHandler" in this bug tracker.

Issues that also happen with Cortado without TimedMediaHandler should be reported to https://trac.xiph.org/ instead.
Comment 13 Andre Klapper 2014-02-28 22:40:06 UTC
Wikimedia itself is currently not actively working on Cortado.
If you are still interested in seeing this / if this problem still happens, please follow https://trac.xiph.org/ticket/1911 instead.

Also see comment 12 in this report for more explanation which way Wikimedia Multimedia currently takes. Closing as WONTFIX for Wikimedia itself.

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


Navigation
Links