mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-24 19:11:49 +01:00
Remove play() to stop weird audio buffering thingie https://youtu.be/dQw4w9WgXcQ
This commit is contained in:
parent
6a9eb11884
commit
f8b83a6f8c
@ -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 New Issue
Block a user