Fix example blob MIME types

This commit is contained in:
Vanilagy
2025-08-01 11:11:37 +02:00
parent 95091cce9c
commit b60d4cafed
2 changed files with 2 additions and 2 deletions
@@ -180,7 +180,7 @@ const generateVideo = async () => {
videoInfo.style.display = '';
// Display and play the resulting media file
const videoBlob = new Blob([output.target.buffer!], { type: 'video/mp4' });
const videoBlob = new Blob([output.target.buffer!], { type: output.format.mimeType });
resultVideo.src = URL.createObjectURL(videoBlob);
void resultVideo.play();