Created
April 8, 2020 06:15
-
-
Save parzibyte/457e8a29f23954a1cf1c9dfaf99e0da2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="es"> | |
<head> | |
<!-- | |
Tomar una fotografía y guardarla en un archivo v3 | |
@date 2018-10-22 | |
@author parzibyte | |
@web parzibyte.me/blog | |
--> | |
<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> | |
<style> | |
@media only screen and (max-width: 700px) { | |
video { | |
max-width: 100%; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<h1>Tomando foto</h1> | |
<h1>Selecciona un dispositivo</h1> | |
<div> | |
<select name="listaDeDispositivos" id="listaDeDispositivos"></select> | |
<button id="boton">Tomar foto</button> | |
<p id="estado"></p> | |
</div> | |
<br> | |
<video muted="muted" id="video"></video> | |
<canvas id="canvas" style="display: none;"></canvas> | |
</body> | |
<script src="script.js"></script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment