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

  • Add an error event listener with the callback function
  • 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

    Popular posts from this blog

    Eclipse CDT variable colors in editor -

    AJAX doesn't send POST query -

    wpf - Custom Message Box Advice -