Tryyy
4 years ago in Plain Text
<!DOCTYPE html>
<html>
<head>
<title>MediaRecorder examples - Record video and audio</title>
<meta charset="utf-8">
<meta name="viewport" content=
"width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css" type="text/css">
<script src="record-video-and-audio.js"></script>
</head>
<body>
<header>
<h1><a href="index.html">MediaRecorder examples</a></h1>
<p>Record video and audio.</p>
</header>
<main>
<p><button id="record" disabled>Record</button> <button id=
"stop" disabled>Stop</button></p>
<div class="row">
<figure>
<video id="live" width="320"></video><br>
<figure>
<video id="recording" controls="" width=
"320"></video><br>
</figure>
<table>
<caption>
live preview
</caption>
<caption>
recorded clip
</caption>
</table>
</figure>
</div>
</main>
</body>
</html>
About