aboutsummaryrefslogtreecommitdiff
path: root/web/script/player/player.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-04-14 15:44:02 +0200
committermetamuffin <metamuffin@disroot.org>2024-04-14 15:44:02 +0200
commitfa987c5f4a2420c6daf0c8c00514a9564991a57e (patch)
tree65a0241c945361e717ca1b1d2e50299646a18d6c /web/script/player/player.ts
parentc538a98c78fadf92553a023d32ff24e377e93461 (diff)
downloadjellything-fa987c5f4a2420c6daf0c8c00514a9564991a57e.tar
jellything-fa987c5f4a2420c6daf0c8c00514a9564991a57e.tar.bz2
jellything-fa987c5f4a2420c6daf0c8c00514a9564991a57e.tar.zst
jst: restore scroll properly
Diffstat (limited to 'web/script/player/player.ts')
-rw-r--r--web/script/player/player.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/web/script/player/player.ts b/web/script/player/player.ts
index 640a6d6..53b17cb 100644
--- a/web/script/player/player.ts
+++ b/web/script/player/player.ts
@@ -166,12 +166,8 @@ export class Player {
this.active_tracks.change()
}
- play() {
- this.video.play()
- }
- pause() {
- this.video.pause()
- }
+ play() { this.video.play() }
+ pause() { this.video.pause() }
frame_forward() {
//@ts-ignore trust me bro
this.video["seekToNextFrame"]()