Skip to content

Commit ae125ce

Browse files
save file
1 parent 0f57925 commit ae125ce

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

blog/25-11-15/ffmpeg-in-the-browser/ffmpeg-in-the-browser.html

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
var vctldr;
6565
var fwdemo;
6666
var fwtldr;
67-
67+
var m4demo;
6868

6969

7070

@@ -82,13 +82,15 @@
8282
vctldr = mod['videoconverter-tldr'];
8383
fwdemo = mod['ffmpeg-wasm-demo'];
8484
fwtldr = mod['ffmpeg-wasm-tldr'];
85+
m4demo = mod['mp4box-demo'];
8586

8687
hdr.initmod({ext,$});
8788
log.initmod({ext,$});
8889
vcdemo.initmod({ext,$,menu,ace});
8990
vctldr.initmod({ext,$,menu,ace});
9091
fwdemo.initmod({ext,$,menu,ace});
9192
fwtldr.initmod({ext,$,menu,ace});
93+
m4demo.initmod({ext,$,menu,ace});
9294

9395

9496
await Promise.all([
@@ -98,6 +100,7 @@
98100
vctldr.init(),
99101
fwdemo.init(),
100102
fwtldr.init(),
103+
m4demo.init(),
101104
]);
102105

103106

@@ -357,18 +360,20 @@ <h3>
357360
</section>
358361

359362

360-
361-
362-
363-
364-
365-
366-
367-
368-
369-
370-
371-
363+
<hr>
364+
365+
366+
<section>
367+
<h3>
368+
media mimetypes
369+
</h3>
370+
<p>
371+
when working with audio / video its often helpful to determine the mime types of the codecs in use
372+
</p>
373+
374+
<snippet-html-console id=mp4box-demo component v2.0 src='ex/mp4box/ex.html'></snippet-html-console>
375+
376+
</section>
372377

373378

374379

@@ -404,6 +409,10 @@ <h3>
404409
fwdemo.initdom();
405410
fwtldr.initdom();
406411

412+
m4demo.initdom();
413+
414+
415+
407416
}//initdom
408417

409418

0 commit comments

Comments
 (0)