Skip to content

Commit

Permalink
Changing to 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilrieger committed Sep 23, 2023
1 parent 0b088bc commit 80297a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/javascript/components/skip_plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class FastForward extends Clappr.UICorePlugin {
}

onClick() {
this.core.getCurrentPlayback().seek(this.core.getCurrentPlayback().getCurrentTime() + 5)
this.core.getCurrentPlayback().seek(this.core.getCurrentPlayback().getCurrentTime() + 10)
}

show() {
Expand Down Expand Up @@ -102,7 +102,7 @@ class SkipBackward extends Clappr.UICorePlugin {

onClick() {
if (this.core.getCurrentPlayback().getCurrentTime() > 10) {
this.core.getCurrentPlayback().seek(this.core.getCurrentPlayback().getCurrentTime() - 5)
this.core.getCurrentPlayback().seek(this.core.getCurrentPlayback().getCurrentTime() - 10)
} else {
this.core.getCurrentPlayback().seek(0)
}
Expand Down

0 comments on commit 80297a0

Please sign in to comment.