videojs: default quality to 480 instead of 1080
This commit is contained in:
parent
a90d88ad65
commit
ba8088b678
|
@ -2,7 +2,7 @@
|
||||||
"author": "Calvin Montgomery",
|
"author": "Calvin Montgomery",
|
||||||
"name": "CyTube",
|
"name": "CyTube",
|
||||||
"description": "Online media synchronizer and chat",
|
"description": "Online media synchronizer and chat",
|
||||||
"version": "3.46.0",
|
"version": "3.46.1",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "http://github.com/calzoneman/sync"
|
"url": "http://github.com/calzoneman/sync"
|
||||||
},
|
},
|
||||||
|
|
|
@ -9,7 +9,7 @@ sortSources = (sources) ->
|
||||||
pref = '2160'
|
pref = '2160'
|
||||||
idx = qualities.indexOf(pref)
|
idx = qualities.indexOf(pref)
|
||||||
if idx < 0
|
if idx < 0
|
||||||
idx = 2
|
idx = 5 # 480p
|
||||||
|
|
||||||
qualityOrder = qualities.slice(idx).concat(qualities.slice(0, idx).reverse())
|
qualityOrder = qualities.slice(idx).concat(qualities.slice(0, idx).reverse())
|
||||||
sourceOrder = []
|
sourceOrder = []
|
||||||
|
|
|
@ -459,7 +459,7 @@
|
||||||
}
|
}
|
||||||
idx = qualities.indexOf(pref);
|
idx = qualities.indexOf(pref);
|
||||||
if (idx < 0) {
|
if (idx < 0) {
|
||||||
idx = 2;
|
idx = 5;
|
||||||
}
|
}
|
||||||
qualityOrder = qualities.slice(idx).concat(qualities.slice(0, idx).reverse());
|
qualityOrder = qualities.slice(idx).concat(qualities.slice(0, idx).reverse());
|
||||||
sourceOrder = [];
|
sourceOrder = [];
|
||||||
|
|
Loading…
Reference in a new issue