Remove play() to stop weird audio buffering thingie https://youtu.be/dQw4w9WgXcQ

This commit is contained in:
Jip Fr 2023-12-13 21:51:06 +01:00
parent 6a9eb11884
commit f8b83a6f8c

View File

@ -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 = () => {