Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

jwplayer.load() fail with error f(...).plugins is undefined


Hello,

I'm using jwplayer in my web app and it's working most of the time. I'm running it on Firefox 39.0 Ubuntu 14.04.
The player is used to play HLS videos and here is the setup used to instanciate the player:
jwplayer("jwplayer-wrapper").setup({
width: "100%",
height: "100%",
file: video_url,
image: "",
icons: false,
controls: false,
}).
onReady(function () {
...
}).
onPlay(function () {
...
}).
onTime(function(callback){
...
}).
onBufferChange(function(buffer) {
...
}).
onBuffer(function() {
...
}).
onSetupError(function(callback){
...
}).
onQualityLevels(function(){
...
});

After the setup, in the 'onReady' event I want to change the loaded video by using:
jwplayer("jwplayer-wrapper").load({
file: video_url,
image: "",
});

Sometime -- what appears to be random -- an error occurs:
TypeError: f(...).plugins is undefined
Stack trace:
f.api/n.load@/jwplayer.js:128:309
loadVideo@XXX
f.api/n.dispatchEvent@/jwplayer.min.js:134:170
f.api/n.playerReady@/jwplayer.min.js:135:226
f.playerReady@/jwplayer.min.js:135:421

I tried to catch that error to resetup the player and I the get the error:
"There was an error calling back an event handler" TypeError: t is null
Stack trace:
f.embed@/jwplayer.js:75:496
f.embed<@/jwplayer.js:95:308
f.api/n.setup@/jwplayer.js:126:310
loadVideo@XXX
f.api/n.dispatchEvent@/jwplayer.js:134:170
f.api/n.playerReady@/jwplayer.js:135:226
f.playerReady@/jwplayer.js:135:421

Is that a known error? (I could not find anything in the support so far...)
Is there anyway to fix/avoid it?

Thanks for your help !

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

Do you see the error when you only have your setup() but not the onReady(), onPlay(), etc functions? The “There was an error calling back an event handler” error makes me think there is something in one of those that the browser does not like.

And does your HLS stream play via Flash in your browser?

z...

User  
0 rated :

I am having the same issue can anybody help :(

Todd

JW Player Support Agent  
0 rated :

Are any videos working correctly?

Mozilla does not natively support HLS, so our player will try to load the video in Flash. Do you have an up-to-date version of Flash installed?

Do you see the same issue in Chrome on Ubuntu?

This question has received the maximum number of answers.