aboutsummaryrefslogtreecommitdiff
path: root/pages/present.tsx
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-05-24 15:42:46 +0200
committerlonkaars <loek@pipeframe.xyz>2021-05-24 15:42:46 +0200
commit2d7acc472ee4f4a37556f41a0ea6ffec8b7b0e26 (patch)
tree92773668ed71c32b1c0bb52c53349b0de081171f /pages/present.tsx
parent7469afab31ebfdd2d447c351d615b7c1d8e42c2e (diff)
player buttons working :tada:g
Diffstat (limited to 'pages/present.tsx')
-rw-r--r--pages/present.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/present.tsx b/pages/present.tsx
index 2ad8f72..df32e60 100644
--- a/pages/present.tsx
+++ b/pages/present.tsx
@@ -197,8 +197,6 @@ export class TimedVideoPlayer {
if (!this.player.paused && this.frame < slide?.frame) {
this.skip();
}
-
- this.player.play();
}
previous() {
@@ -258,6 +256,7 @@ export default function Present() {
className='control next'
onClick={() => {
player.next();
+ player.player.play();
rerender();
}}
/>