mozilla / popcorn.webmaker.org

RETIRED
https://blog.mozilla.org/foundation-archive/mozilla-learning/product-update-for-appmaker-and-popcorn-maker/
MIT License
146 stars 116 forks source link

Proper way to update TrackEvents ? #609

Closed JpEncausse closed 8 years ago

JpEncausse commented 9 years ago

Following Popcorn question: https://github.com/mozilla/popcorn-js/issues/443

How do you reset/remove popcorn registered events when you change start or duration in WebMaker ? I did something like:

popcorn.myplugin({ start: 1, end: 2, duration: 1, custiom: 'x' });

But what is the proposer way to remove / update it after ?