File: examples/example.html

Recommend this page to a friend!
  Classes of Elger van Boxtel  >  JS Webcam  >  examples/example.html  >  Download  
File: examples/example.html
Role: Example script
Content type: text/plain
Description: Documentation
Class: JS Webcam
Capture pictures or video with the webcam
Author: By
Last change: Update of examples/example.html
Date: 8 months ago
Size: 810 bytes


Class file image Download
<!DOCTYPE html>
<html lang="en">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>JSWebcam example</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
				max-width: 100%;
			<button id="start">Start</button>
			<button id="stop">Stop</button>

			<button id="picture">Take picture</button>
			<button id="fallback">Use fallback</button>

		<video id="video" autoplay></video>
		<img id="image" src="">
		<img id="thumb" src="">

		<script src="../lib/Webcam.js"></script>
		<script src="./impl.js"></script>