Closed bp2008 closed 3 years ago
The event unbinding still looks wrong, but meh... it works now where it didn't before.
Thanks for the report. Feel free to open a PR to improve the event binding/unbinding if you have ideas.
Alas, clappr doesn't have good documentation for plugins, so all I know I learned by looking at this and other plugins. It just looks like an event that was never bound is being unbound (Events.MEDIACONTROL_CONTAINERCHANGED
), and an event that was bound is not being unbound (PlaybackRatePlugin.MEDIACONTROL_PLAYBACKRATE
)
I've tried to get this plugin to work with clappr 0.3.9, and it just failed silently.
After some investigation, I was able to solve it by making this change to the plugin source:
OLD:
NEW: