kmoskwiak / videojs-resolution-switcher

Resolution switcher adds the ability to select the video quality in video.js player.
https://kmoskwiak.github.io/videojs-resolution-switcher/
Other
402 stars 244 forks source link

Distinguish between automatic and manual resolution change event. #131

Open kellertobias opened 5 years ago

kellertobias commented 5 years ago

It would be great to be able to distinguish between a manual (via the resolution menu) and an automatic (via the API or default) resolution change.

in this way, we could store the selected resolution in the localstorage and "remember" the selection and use it as default the next time, even if the next video does not have this resolution.