mirror of
https://gitea.invidious.io/iv-org/videojs-quality-selector.git
synced 2024-08-15 00:43:13 +00:00
Show selector with single source
This commit is contained in:
parent
a89750e55a
commit
65505995d6
1 changed files with 0 additions and 4 deletions
|
@ -74,10 +74,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…
Reference in a new issue