Search code examples
video.js

Looking for a HLS/MPEG-DASH Quality selector that works with for videojs 7.5


I'm trying to find a quality selector for Videojs 7.5 that automatically lists the available bandwidth versions in a HLS and MPEG-DASH manifest. A bit like YouTube where you can select a quality, but without having to manually place resolutions in the embedding code. I tried several options listed in https://videojs.com/plugins/ but they all seem to be made for much older versions. Anybody an idea?


Solution

  • I found it. https://www.npmjs.com/package/videojs-http-source-selector does the trick. It fills in all resolutions retrieved from the manifest and it works with videojs 7.5.0 You need to install videojs-contrib-quality-levels.js as well. With other quality level plugins, you have to fill in all resolutions yourself (dynamic), which I liked to avoid.