diff --git a/package.json b/package.json index 69a1231f..c8091fa4 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/player/videojs.coffee b/player/videojs.coffee index 5c294e1e..5e99339e 100644 --- a/player/videojs.coffee +++ b/player/videojs.coffee @@ -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 = [] diff --git a/www/js/player.js b/www/js/player.js index fccd7573..fc4ce1c6 100644 --- a/www/js/player.js +++ b/www/js/player.js @@ -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 = [];