forked from parzibyte/grabar-audio-microfono-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (31 loc) · 996 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Grabar audio del micrófono con JavaScript by parzibyte</title>
</head>
<!--
* Grabar audio obtenido del micrófono con JavaScript, seleccionando
* un dispositivo de grabación de una lista; usando MediaRecorder
* y getUserMedia
*
* @author parzibyte
* @see https://parzibyte.me/blog
-->
<body>
<h1>Grabar audio del micrófono con JavaScript</h1>
<br>
<a href="//parzibyte.me/blog" target="_blank">By Parzibyte</a>
<div>
<select name="listaDeDispositivos" id="listaDeDispositivos"></select>
<br><br>
<p id="duracion"></p>
<br>
<button id="btnComenzarGrabacion">Comenzar</button>
<button id="btnDetenerGrabacion">Detener</button>
</div>
<script src="script.js"></script>
</body>
</html>