
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.