Show selector with single source

This commit is contained in:
Omar Roth 2020-03-02 11:46:00 -05:00
parent 7784a3135d
commit aa06e72932
No known key found for this signature in database
GPG key ID: B8254FB7EC3D37F2

View file

@ -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,