how to override flowplayer onError message
- by frosty
I have the following js. If the flv url doesn't exist the onError function is called which is great.
However currently it displays the alert and then proceeds to display an unfriendly error message. How can i override this message with something more user friendly.
$f(videoid, "/swf/flowplayer-3.1.5.swf", {
playlist: list1,
wmode: 'opaque',
plugins: {
gatracker: {
url: "/swf/flowplayer.analytics-3.1.5.swf",
trackingMode: "Bridge",
debug: false
}
},
onError: function(err) {
alert('Error Code: ' + err);
}
});