Shumway unable to play JWPlayer video on pbs.org: Error setting up the player: n is undefined

RESOLVED FIXED

Status

Firefox Graveyard
Shumway
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: cpeterson, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

3 years ago
When I try to play any PBS video (e.g. http://video.pbs.org/video/2365403678 ) with Nightly 38 (2015-01-23) and Shumway 0.9.3633, the SWF is black and the page displays the following error message:

"Error setting up the player: n is undefined"

Load Shared Dependencies: timer started shumway.gfx.js:17
Load Shared Dependencies: 7.09ms shumway.gfx.js:6276
Load GFX Dependencies: timer started shumway.gfx.js:6277
Load GFX Dependencies: 6.03ms shumway.gfx.js:12431
Load Player Dependencies: timer started shumway.player.js:17
Load Shared Dependencies: timer started shumway.player.js:18
Load Shared Dependencies: 4.65ms shumway.player.js:6271
Load AVM2 Dependencies: timer started shumway.player.js:6272
Load AVM2 Dependencies: 15.97ms shumway.player.js:22634
Load SWF Parser: timer started shumway.player.js:22635
Load SWF Parser: 0.78ms shumway.player.js:25729
Load Flash TS Dependencies: timer started shumway.player.js:25730
Load Flash TS Dependencies: 24.96ms shumway.player.js:42942
Load AVM1 Dependencies: timer started shumway.player.js:42943
Load AVM1 Dependencies: 3.14ms shumway.player.js:47545
Load Player Dependencies: 53.87ms shumway.player.js:52129
"Shumway: start normal" viewerWrapper.js:137:6
"url=http://dun96pyxwe2yl.cloudfront.net/lib/jwplayer/jwplayer.flash.swf;params=({})" viewer.js:130:0
"Compiler settings: {"appCompiler":true,"sysCompiler":false,"verifier":true}" viewer.js:253:0
"Parsing http://dun96pyxwe2yl.cloudfront.net/lib/jwplayer/jwplayer.flash.swf..." viewer.js:254:2
Execute builtin.abc: timer started shumway.player.js:51880
Execute builtin.abc: 84.78ms shumway.player.js:51884
"Session #1: loading http://dun96pyxwe2yl.cloudfront.net/lib/jwplayer/jwplayer.flash.swf" viewerPlayer.js:104:10
"Session #1: loaded 61803/198958" viewerPlayer.js:126:14
"Session #1: loaded 183435/198958" viewerPlayer.js:126:14
"Session #1: loaded 198958/198958" viewerPlayer.js:126:14
"SWF load time: 0.0570sec" shumway.player.js:25225:0
"Session #1: closed" viewerPlayer.js:120:14
"somewhatImplemented: public flash.system.Security::static allowDomain ["*"]" shumway.player.js:148:6
"__flash__eval: try {__flash__toXML(jwplayer.utils.tea.decrypt("","36QXq4W@GSBV^teR"));} catch (e) {"<undefined/>";}" ShumwayStreamConverter.jsm:789:6
"somewhatImplemented: public flash.display.InteractiveObject::set focusRect" shumway.player.js:148:6
"__flash__eval: try {__flash__toXML(jwplayer.embed.flash.getVars("player"));} catch (e) {"<undefined/>";}" ShumwayStreamConverter.jsm:789:6
"Session #2: loading http://dun96pyxwe2yl.cloudfront.net/lib/jwplayer/glow.xml" viewerPlayer.js:104:10
"Session #2: loaded 24958/24958" viewerPlayer.js:126:14
"Session #2: closed" viewerPlayer.js:120:14
"__flash__eval: try {__flash__toXML(jwplayer.utils.tea.decrypt("9hR5vkXnCthRESHPBPzie5CbXKaPOu26VvqVqg==","36QXq4W@GSBV^teR"));} catch (e) {"<undefined/>";}" ShumwayStreamConverter.jsm:789:6
"somewhatImplemented: public flash.net.NetConnection::connect" shumway.player.js:148:6
"somewhatImplemented: public flash.media.SoundTransform::_updateTransform" shumway.player.js:148:6
"somewhatImplemented: NetStream._invoke (4)" shumway.player.js:148:6
"somewhatImplemented: public flash.net.NetStream::set client" shumway.player.js:148:6
"somewhatImplemented: public flash.net.NetConnection::set objectEncoding" shumway.player.js:148:6
"somewhatImplemented: public flash.ui.ContextMenu::set builtInItems" shumway.player.js:148:6
"somewhatImplemented: public flash.ui.ContextMenu::set customItems" shumway.player.js:148:6
"somewhatImplemented: public flash.ui.ContextMenu::get builtInItems" shumway.player.js:148:6
"somewhatImplemented: public flash.display.InteractiveObject::set contextMenu" shumway.player.js:148:6
"somewhatImplemented: public flash.ui.ContextMenu::get customItems" shumway.player.js:148:6
"somewhatImplemented: public flash.system.Capabilities::get isDebugger" shumway.player.js:148:6
"No native method for: Getter public flash.system::SecurityDomain::$BgcurrentDomain, make sure you've got the static keyword for static methods." shumway.player.js:148:6
"Calling undefined native method: Getter undefined::$BgcurrentDomain" shumway.player.js:148:6
"__flash__eval: try {__flash__toXML(function(evt){jwplayer("player").dispatchEvent(evt.type,evt)}(({message:"Error setting up the player: n is undefined",type:"jwplayerSetupError"})));} catch (e) {"<undefined/>";}" ShumwayStreamConverter.jsm:789:6
"somewhatImplemented: public flash.ui.Mouse::static show" shumway.player.js:148:6
Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. pbs.pipeline-libs.js:1:0
GET https://bam.nr-data.net/jserrors/1/646c3c011e [HTTP/1.1 200 OK 347ms]
Testing right now, but at least one part of this, the "undefined native method" thing, is fixed by https://github.com/mozilla/shumway/pull/2026.
The issue described here is fixed. Other issues block the player from working, but those are dealt with in other bugs.
Blocks: 1118980
Status: NEW → RESOLVED
Last Resolved: 3 years ago
OS: Mac OS X → All
QA Contact: till
Hardware: x86 → All
Resolution: --- → FIXED
(Assignee)

Updated

2 years ago
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.