Skip to content

Commit

Permalink
Merge pull request #67 from martillansky/deployment/after-audit
Browse files Browse the repository at this point in the history
no-fix: matroska is a general container for including webm like files…
  • Loading branch information
martillansky authored Sep 9, 2024
2 parents d08503b + 49d120e commit 598c5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/[pohid]/claim/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function VideoStep({ advance, video$, isRenewal }: PhotoProps) {
mediaRecorder.ondataavailable = async ({ data }) => {
const newlyRecorded = ([] as BlobPart[]).concat(data);
const blob = new Blob(newlyRecorded, {
type: `${IS_IOS ? "video/mp4" : "video/webm"};codecs=h264`,
type: `${IS_IOS ? "video/mp4;codecs=h264" : "video/webm;codecs=vp8"}`,
});
video$.set({ content: blob, uri: URL.createObjectURL(blob) });
setShowCamera(false);
Expand Down

0 comments on commit 598c5e9

Please sign in to comment.