mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Remove play() to stop weird audio buffering thingie https://youtu.be/dQw4w9WgXcQ
This commit is contained in:
parent
6a9eb11884
commit
f8b83a6f8c
1 changed files with 0 additions and 1 deletions
|
@ -79,7 +79,6 @@ class ThumnbnailWorker {
|
|||
|
||||
private async takeSnapshot(at: number) {
|
||||
if (!this.videoEl || !this.canvasEl) return;
|
||||
await this.videoEl.play(); // so that `seeked` actually triggers
|
||||
this.videoEl.currentTime = at;
|
||||
await new Promise((resolve) => {
|
||||
const onSeeked = () => {
|
||||
|
|
Loading…
Reference in a new issue