Merge pull request #1671 from ydylla/improve-speed-options
Use the configured speed options
This commit is contained in:
commit
b5456e1de7
2
src/js/controls.js
vendored
2
src/js/controls.js
vendored
@ -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];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user