Add webcam example

This commit is contained in:
jeromewu
2019-11-10 03:57:05 +00:00
parent 561d854d66
commit 3e254b724d
3 changed files with 77 additions and 2 deletions

View File

@@ -18,7 +18,7 @@
<h3>Upload a video to transcode to mp4 (x264) and play!</h3>
<video id="output-video" controls></video><br/>
<input type="file" id="uploader">
<p id="message" />
<p id="message"></p>
<script>
const { createWorker } = FFmpeg;
const worker = createWorker({