Flowplayer: how to unbind an event?

How do I disable the Flowplayer event that I previously set?

    flowplayer('player9999').onCuepoint(55000, function() {
        ...
    });

      

Like unbind on click:

$('#some').click(function() {
    flowplayer('player9999').onCuepoint().unbind(); // something like this.
});

      

I tried flowplayer("player9999").removeCuepoints

it but I get the error: Error: flowplayer ("player9999"). removeCuepoints is not a function).

I am using FlowPlayer 3.2.9.

+3


source to share


1 answer


You can implement your own logic inside your event handler:



flowplayer('player9999').onCuepoint(55000, function() {
    if (flag){
         //do something
    }
});

      

0


source







All Articles