From f17d9b92712154f1e62b1743eacb2edcf32d181b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 13 Sep 2013 11:04:05 -0400 Subject: [PATCH] fixes #535 - Add 240p video quality to web client --- dashboard-ui/scripts/mediaplayer.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/mediaplayer.js b/dashboard-ui/scripts/mediaplayer.js index 3bfcbce1f3..bd8f9dc4ef 100644 --- a/dashboard-ui/scripts/mediaplayer.js +++ b/dashboard-ui/scripts/mediaplayer.js @@ -1557,7 +1557,10 @@ options.push({ name: '480p', maxWidth: 720, videoBitrate: 420000 }); } if (maxAllowedWidth >= 360) { - options.push({ name: '360p', maxWidth: 640, videoBitrate: 400000 }); + options.push({ name: '360p', maxWidth: 640, videoBitrate: 410000 }); + } + if (maxAllowedWidth >= 240) { + options.push({ name: '240p', maxWidth: 426, videoBitrate: 400000 }); } for (var i = 0, length = options.length; i < length; i++) {