clappr / clappr-level-selector-plugin

Clappr Level Selector Plugin
MIT License
76 stars 56 forks source link

how to quality switch ? #69

Open neronsilence opened 6 years ago

neronsilence commented 6 years ago

hello,

clappr support multiple sources with the "sources []" attribute but i can not see any switch button ? i make an long research but i can find only this plugin but it is dont work or i could not use

https://github.com/LA1TV/clappr-quality-selection-plugin

i know an another plugin is LevelSelector but it is only for HLS/m3u8

i need some quality switcher plugin for mp4 or some like that.

thanks alot! have a good day to all

neronsilence commented 6 years ago

i want to use like this with the labels

...
sources[i] = {
source:vData.videoSources[i].file,
mimeType:vData.videoSources[i].type,
label:vData.videoSources[i].label,
};
...
clappr.load(sources);