Hls Quality Plugin
Overview
With this plugin, you can add the Hls video quality list to the control or the settings panel
Demo
Install
Install from npm:
$ npm install artplayer-plugin-hls-quality
Install from yarn:
$ yarn add artplayer-plugin-hls-quality
Install from script:
<!-- local -->
<script src="path/to/artplayer-plugin-hls-quality.js"></script>
<!-- jsdelivr -->
<script src="https://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js"></script>
<!-- unpkg -->
<script src="https://unpkg.com/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js"></script>
Then you can access the plugin function through window.artplayerPluginHlsQuality