Empty
by pedro_g_s
HTML
<script src="http://cdn.kendostatic.com/2012.1.322/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.default.min.css">
<!DOCTYPE html>
<html>
<head>
<!-- These meta tags are not necessary for the camera to work -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Camera in browsers - pixo</title>
<!-- imports the webpage's stylesheet -->
<link rel="stylesheet" href="style.css" />
<!-- imports the webpage's javascript file -->
<script src="script.js" defer></script>
</head>
<body>
<h1>Demo - Native camera in browsers</h1>
<!-- The `label` is attached to the hidden file input -->
<label for="cameraFileInput">
<span class="btn">Open camera</span>
<!-- The hidden file `input` for opening the native camera -->
<input
id="cameraFileInput"
type="file"
accept="image/*"
capture="camera"
/>
</label>
<!-- displays the picture uploaded from the native camera -->
<img id="pictureFromCamera" />
</body>
</html>