Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 867 Bytes

quality.md

File metadata and controls

19 lines (14 loc) · 867 Bytes

Quality

Overview

This plugin allows the generation of a menu with different video/audio qualities, depending of the elements set in the tags, such as title and data-quality

Keyword to use it

features: [..., 'quality']

API

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