jwplayer - JW Flv Player Error handling -
How can I trigger a trigger that runs if the JW player returns an error?
For example, when JW Player says, "Video not found", I want to run an Ajax function.
something
Such code looks like this:
& Lt; Script type = "text / javascript" & gt; Var player; Function Player Readie (OBJ) {player = document.getElementById (obj ['id']); Player.addModelListener ('Error', errorHandler); }; Function Error Handler (evt) {// Your Code Here} & lt; / Script & gt;
You should check the documentation for more information.
Best,
Developer, Longtele Video
Comments
Post a Comment