Skip to content

Commit

Permalink
Show selector with single source
Browse files Browse the repository at this point in the history
  • Loading branch information
omarroth authored and unixfox committed Apr 28, 2024
1 parent a89750e commit 6550599
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/js/components/QualitySelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6550599

Please sign in to comment.