This plugin allows the generation of a menu with different video/audio qualities, depending of the elements set in the
features: [..., 'quality']
Parameter | Type | Default | Description |
---|---|---|---|
defaultQuality | string | null |
Initial media quality; if null , it will take the first available source |
qualityText | string | null |
Title for Quality button for WARIA purposes |
qualityChangeCallback | callback | Action that will be executed as soon as the user change video quality; passes 3 arguments: media (the wrapper that mimics all the native events/properties/methods for all renderers), node (the original HTML video, audio or iframe tag where the media was loaded originally and string newQuality | |
iconPathQuality | string | mejs-quality-icon.svg |
Path for the SVG icon file |