aboutsummaryrefslogtreecommitdiff
path: root/pages/present.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'pages/present.tsx')
-rw-r--r--pages/present.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/present.tsx b/pages/present.tsx
index 9e65e29..f8f6bc9 100644
--- a/pages/present.tsx
+++ b/pages/present.tsx
@@ -51,6 +51,7 @@ class TimedVideoPlayer {
jumpToSlide(slide: slide) {
this.jumpToFrame(slide.frame);
+ this.player.playbackRate = this.framerate / ((slide as speedChangeSlide).newFramerate || this.framerate);
this.player.pause();
}
@@ -165,7 +166,6 @@ class TimedVideoPlayer {
if (!slide) return;
this.jumpToSlide(slide);
- console.log(this.slide, slide);
}
}