
Firefox - "uncaught exception: Error in Actionscript. Use a try/catch block to find error."
Hi,
I have an implementation of 2 players on the same page which works really nicely on everything, except Firefox (15.0). The JWPlayers are unmodifed and controlled completely with Javascript.
The video starts loading but generally stops with the generic error from the flash before playing. Occasionally the video will actually play for a few seconds and then break.
I cannot post a direct version of my work, so I will need to put together an unbranded test version. Looking at that now, but in the meantime, I was hoping that I would be lucky enough for someone to read this who has had the same issue before. Ill throw in some snippets below for now.
Thanks!
embed:
bc.. //player 1
var player1 = jwplayer("mediaplayer1").setup({
flashplayer: "js/jwPlayer/player.swf",
height: "100%",
width: "100%",
allowFullScreen: 'false',
controlbar: 'none',
screencolor: '#000000'
});
//player 2
var player2 = jwplayer("mediaplayer2").setup({
flashplayer: "js/jwPlayer/player.swf",
height: "100%",
width: "100%",
allowFullScreen: 'false',
controlbar: 'none',
screencolor: '#000000'
});
play:
bc.. player1.load({ file: useFile, provider: 'rtmp', streamer: useStreamer });
player1.play();
$('#c1 .videoControlTitle, #c2 .videoControlDoubleLeft .videoControlTitle').text(holdTitle);