mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-04-24 17:29:12 -04:00
Show selector with single source
This commit is contained in:
parent
7784a3135d
commit
aa06e72932
@ -77,10 +77,6 @@ module.exports = function(videojs) {
|
||||
var player = this.player(),
|
||||
sources = player.currentSources();
|
||||
|
||||
if (!sources || sources.length < 2) {
|
||||
return [];
|
||||
}
|
||||
|
||||
return _.map(sources, function(source) {
|
||||
return new QualityOption(player, {
|
||||
source: source,
|
||||
|
Loading…
x
Reference in New Issue
Block a user