mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-05-25 01:01:45 -04:00
Show selector with single source
This commit is contained in:
parent
7784a3135d
commit
aa06e72932
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue