videojs: default quality to 480 instead of 1080

This commit is contained in:
Calvin Montgomery 2017-08-13 21:48:50 -07:00
parent a90d88ad65
commit ba8088b678
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
"author": "Calvin Montgomery",
"name": "CyTube",
"description": "Online media synchronizer and chat",
"version": "3.46.0",
"version": "3.46.1",
"repository": {
"url": "http://github.com/calzoneman/sync"
},

View file

@ -9,7 +9,7 @@ sortSources = (sources) ->
pref = '2160'
idx = qualities.indexOf(pref)
if idx < 0
idx = 2
idx = 5 # 480p
qualityOrder = qualities.slice(idx).concat(qualities.slice(0, idx).reverse())
sourceOrder = []

View file

@ -459,7 +459,7 @@
}
idx = qualities.indexOf(pref);
if (idx < 0) {
idx = 2;
idx = 5;
}
qualityOrder = qualities.slice(idx).concat(qualities.slice(0, idx).reverse());
sourceOrder = [];