From e8f6ab52e533023f1bca3c7c3033e49f2f581790 Mon Sep 17 00:00:00 2001 From: roman Date: Thu, 10 May 2018 10:35:13 +0300 Subject: [PATCH] Adding a new 1440p resolution --- lib/videojs-resolution-switcher.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/videojs-resolution-switcher.js b/lib/videojs-resolution-switcher.js index eae1c38..778c861 100644 --- a/lib/videojs-resolution-switcher.js +++ b/lib/videojs-resolution-switcher.js @@ -281,6 +281,7 @@ // Map youtube qualities names var _yts = { highres: {res: 1080, label: '1080', yt: 'highres'}, + hd1440: {res: 1440, label: '1440', yt: 'hd1440'}, hd1080: {res: 1080, label: '1080', yt: 'hd1080'}, hd720: {res: 720, label: '720', yt: 'hd720'}, large: {res: 480, label: '480', yt: 'large'},