diff options
Diffstat (limited to 'web/script/player/player.ts')
-rw-r--r-- | web/script/player/player.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/script/player/player.ts b/web/script/player/player.ts index 4c1d9fc..062ad59 100644 --- a/web/script/player/player.ts +++ b/web/script/player/player.ts @@ -38,6 +38,7 @@ export class Player { } this.video.onwaiting = () => { console.log("waiting"); + if (this.video.currentTime > this.duration.value - 0.2) return this.set_pers("Playback finished") this.set_pers("Buffering...") this.canplay.value = false; } |