From 299f712cc9363b1f8d26e4e049aabd9c25dcb9d7 Mon Sep 17 00:00:00 2001 From: ydylla Date: Wed, 29 Jan 2020 23:02:35 +0100 Subject: [PATCH] actually use the configured speed options --- src/js/controls.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/controls.js b/src/js/controls.js index 15c82716..33d5724b 100644 --- a/src/js/controls.js +++ b/src/js/controls.js @@ -1056,6 +1056,8 @@ const controls = { // Set the speed options if (is.array(options)) { this.options.speed = options; + } else if (is.array(this.config.speed.options)) { + this.options.speed = this.config.speed.options; } else if (this.isHTML5 || this.isVimeo) { this.options.speed = [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2]; }