Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<!DOCTYPE html>
<html lang="es">
Tomar una fotografía y guardarla en un archivo v3
@date 2018-10-22
@author parzibyte
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>Tomar foto </title>
@media only screen and (max-width: 700px) {
video {
max-width: 100%;
<h1>Tomando foto</h1>
<h1>Selecciona un dispositivo</h1>
<select name="listaDeDispositivos" id="listaDeDispositivos"></select>
<button id="boton">Tomar foto</button>
<p id="estado"></p>
<video muted="muted" id="video"></video>
<canvas id="canvas" style="display: none;"></canvas>
<script src="script.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment