diff options
author | Sam Potts <sam@potts.es> | 2020-02-08 23:09:41 +0000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2020-02-08 23:09:41 +0000 |
commit | 90dc985657190f08e91686cdcf404a106c498511 (patch) | |
tree | 73064da9477bebc36413b850e2b9ac77b5cf1dc5 /src/js/config/defaults.js | |
parent | b5456e1de747b40b82a80a724f6724ba438ab24d (diff) | |
download | plyr-90dc985657190f08e91686cdcf404a106c498511.tar.lz plyr-90dc985657190f08e91686cdcf404a106c498511.tar.xz plyr-90dc985657190f08e91686cdcf404a106c498511.zip |
Clean up speed options logic
Diffstat (limited to 'src/js/config/defaults.js')
-rw-r--r-- | src/js/config/defaults.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/js/config/defaults.js b/src/js/config/defaults.js index 90a74a23..aeff6efc 100644 --- a/src/js/config/defaults.js +++ b/src/js/config/defaults.js @@ -69,6 +69,7 @@ const defaults = { // Quality default quality: { default: 576, + // The options to display in the UI, if available for the source media options: [4320, 2880, 2160, 1440, 1080, 720, 576, 480, 360, 240], forced: false, onChange: null, @@ -84,7 +85,8 @@ const defaults = { // Speed default and options to display speed: { selected: 1, - options: [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], + // The options to display in the UI, if available for the source media (e.g. Vimeo does not support 4x) + options: [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 4], }, // Keyboard shortcut settings |