facundofernandez / videojs-dvr

MIT License
10 stars 8 forks source link

The plugin can't be destroyed #10

Closed AaronHernandezPerez closed 2 years ago

AaronHernandezPerez commented 4 years ago

If the player is used in a playlist, when changing to an ondemand for example, the live button is still there, and the seekbar is broken. Is there a way to destroy de plugin when changing sources?

Removing the live button and classes is easy, however how can we remove the changes made to the seekbar and playbar?