diff --git a/src/webgpu/web_platform/util.ts b/src/webgpu/web_platform/util.ts index 20fdca59c638..aa92c90f3d7c 100644 --- a/src/webgpu/web_platform/util.ts +++ b/src/webgpu/web_platform/util.ts @@ -386,6 +386,8 @@ export function startPlayingAndWaitForVideo( try { await callback(); resolve(); + video.src = ''; + video.srcObject = null; } catch (ex) { reject(ex); }