Fix google drive/google+ 'highest available' quality

This commit is contained in:
calzoneman 2015-03-20 14:23:44 -05:00
parent f3fe933f6e
commit 3290501e81
1 changed files with 3 additions and 0 deletions

View File

@ -2811,6 +2811,9 @@ function googlePlusSimulator2014(data) {
/* Convert youtube-style quality key to vimeo workaround quality */ /* Convert youtube-style quality key to vimeo workaround quality */
var q = USEROPTS.default_quality || "auto"; var q = USEROPTS.default_quality || "auto";
if (q === "highres") {
q = "hd1080";
}
var fallbacks = ["hd1080", "hd720", "large", "medium", "small"]; var fallbacks = ["hd1080", "hd720", "large", "medium", "small"];
var i = fallbacks.indexOf(q); var i = fallbacks.indexOf(q);