Closed DoomTay closed 7 years ago
Good stuff.
I'll test it out in the weekend some time next week and get it merged.
As for the breaking change, we have this in SemVer 2.0:
Major version zero (0.y.z) is for initial development. Anything may change at any time. The public API should not be considered stable.
Oh nvm, https://docs.npmjs.com/misc/semver#caret-ranges-123-025-004
Many authors treat a 0.x version as if the x were the major "breaking-change" indicator.
After some tinkering, I'm starting to think the "multiple buttons highlighted" bug may actually be on videojs. If I add a native text track, then a few seconds later add another, all three caption options are "selected" until the next line comes up.
Yay, finally merged!
I've formatted your code a bit and think I've fixed the multiple tracks
being highlighted when not using switchImmediately
issue.
This would add "true" subtitle switching, as at the moment, there is only a function for adding subtitle tracks.
This would replace the custom ASS button, and switching would be done through the "built in" caption switcher using "dummy" tracks
Some additional thoughts