manelpb / videojs-qualityselector

Simple plugin that displays a dropdown with a list of possible videos based on its resolution, also changes the source when the user selects a desired option
MIT License
19 stars 12 forks source link

DASH+HLS scenario #14

Open nickehallgren opened 6 years ago

nickehallgren commented 6 years ago

I have a player that shows DASH or HLS depending on what is needed, should your plugin work in a scenario like this. I've tried different approaches but without any luck...

var player = videojs('player', { autoplay: false, sources: [ { type: 'application/dash+xml', src: 'https://xxx:443/live/live2.sdp/manifest.mpd' }, { type: 'application/x-mpegURL', src: 'https://xxx:443/live/live2.sdp/playlist.m3u8' } ] });