var events = Popcorn.getTrackEvents();
for (var e in events) {
Popcorn.removeTrackEvent(events[e]._id);
}
Popcorn.cue(newTime, newFunction);
This is not really an event editing, but it works fine for me - I need to replace everything and then play the video again.
There is also getTrackEvent (obj, id) and getLastTrackEventId (obj) - you can handle each event separately (I have not tested it).
It seems that it will be implemented in the new version 1.3
source
share