![](https://secure.gravatar.com/avatar/2ff0ca4f01078b1018bbf9d7997350f5?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Custom error for no flash installed
Hello,
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);
playerInstance.onError(function(){
$("#player_holder").remove();
$("#player_loadpic").src("../images/player/noflash.jpg");
});
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.