Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 24, 2024
1 parent 008eff2 commit 4f742e5
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions packages/story-editor/src/app/media/utils/useFFmpeg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ function useFFmpeg() {
const data = ffmpeg.FS('readFile', tempFileName);

return blobToFile(
new Blob([data.buffer as BlobPart], { type: MEDIA_POSTER_IMAGE_MIME_TYPE }),
new Blob([data.buffer as BlobPart], {
type: MEDIA_POSTER_IMAGE_MIME_TYPE,
}),
outputFileName,
MEDIA_POSTER_IMAGE_MIME_TYPE
);
Expand Down Expand Up @@ -263,7 +265,9 @@ function useFFmpeg() {
const data = ffmpeg.FS('readFile', tempFileName);

return blobToFile(
new Blob([data.buffer as BlobPart], { type: MEDIA_TRANSCODED_MIME_TYPE }),
new Blob([data.buffer as BlobPart], {
type: MEDIA_TRANSCODED_MIME_TYPE,
}),
outputFileName,
MEDIA_TRANSCODED_MIME_TYPE
);
Expand Down Expand Up @@ -596,7 +600,9 @@ function useFFmpeg() {
const data = ffmpeg.FS('readFile', tempFileName);

return blobToFile(
new Blob([data.buffer as BlobPart], { type: MEDIA_TRANSCODED_MIME_TYPE }),
new Blob([data.buffer as BlobPart], {
type: MEDIA_TRANSCODED_MIME_TYPE,
}),
outputFileName,
MEDIA_TRANSCODED_MIME_TYPE
);
Expand Down

0 comments on commit 4f742e5

Please sign in to comment.