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

Custom error for no flash installed


so I have setup everything just fine. Problem is that if someone is accessing the player without having flashed installed the error that they get is :

Error loading player: No playable sources found

That is kinda not helpful and I want to replace that with an image that lead to the latest flash version.

I have already tried:

var playerInstance = jwplayer("player_holder"+playerId);

Whitch is not working. It simply does nothing since the onError is not triggered. (tested it with an echo)

So what am i doign wrong here? Using the latest JW Player btw.

1 Community Answers


JW Player Support Agent  
0 rated :

Hi, there.

It looks like you’re using API syntax that was for JW Player 6. For example, playerInstance.onError(function() {}); has become playerInstance.on(“error”, function() {});

I do have a demo example of how to show an error when Flash is either disabled or not installed here:

Please let me know if you need any more help or have any other questions.

Thank you!

This question has received the maximum number of answers.