3

如何取消绑定之前设置的 Flowplayer 事件?

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

就像点击解除绑定一样:

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

我试过flowplayer("player9999").removeCuepoints了,但我收到一条错误消息:*Error: flowplayer("player9999").removeCuepoints is not a function)。

我正在使用 FlowPlayer 3.2.9。

4

1 回答 1

0

您可以在事件处理程序中实现自定义逻辑:

flowplayer('player9999').onCuepoint(55000, function() {
    if (flag){
         //do something
    }
});
于 2012-05-14T11:52:13.197 回答