videojs-quality-selector/src
Matt Luedke a682125480 Refs #13 Support quality selector buttons anywhere in the player's component hierarchy
Previously, the SourceInterceptor made the assumption that the QualitySelector button component
is a direct child of the controlBar component. That may not always be true. Video.js allows you
to specify a nested hierarchy of components, and so when plugin users choose to move the
QualitySelector button elsewhere, the plugin does not work properly.

This commit introduces a new event type called QUALITY_REQUESTED to signal when the user is
requesting a quality change. The old QUALITY_SELECTED event is now used to denote when the
plugin actually uses a new quality source. This dichotomy eliminates the need for the
SourceInterceptor to have a reference to the QualitySelector button component.
2017-12-01 19:54:19 -05:00
..
js Refs #13 Support quality selector buttons anywhere in the player's component hierarchy 2017-12-01 19:54:19 -05:00
sass Initial implementation 2017-08-03 09:21:16 -04:00
.eslintrc.json Initial commit 2017-06-20 20:43:49 -04:00