-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
81 lines (76 loc) · 3.95 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang=""> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Photo Capture Using Webcam</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/demo.css" />
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1 class="center-align">Photo Capture Using Webcam</h1>
<!-- Layout video here -->
<div class="demo-area">
<h3 class="view-text view-text--video">
<span>Webcam view</span>
<span id="videoViewText" class="view-text__instructions">Click or tap below to take a snapshot</span>
</h3>
<div class="view--video">
<video id="videoTag" src="" autoplay muted class="view--video__video"></video>
</div>
<h3 class="view-text view-text--snapshot">
<span>Snapshot view</span>
<span id="photoViewText" class="view-text__instructions"></span>
</h3>
<div class="view--snapshot">
<canvas id="canvasTag" class="view--snapshot__canvas"></canvas>
<a id="saveImg" class="hide" href="#"></a>
</div>
</div>
</div>
</div>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4">
<h2>Switching Cameras</h2>
<div class="alert--error alert" class="hide" id="tooltip"></div>
<p><button class="btn btn-default" type="button" disabled id="switch">Switch Camera</button></p>
</div>
<div class="col-md-4">
<h2>Change Filters</h2>
<p>You can also adjust the CSS filters applied to your video</p>
<p><button class="btn btn-default" type="button" id="change-vid-filters">Change Video Filters</button></p>
<p><button class="btn btn-default" type="button" id="change-img-filters">Change Image Filters</button></p>
</div>
<div class="col-md-4">
</div>
</div>
<hr>
<footer>
<p>© <a href="http://www.DaveVoyles.com">Dave Voyles</a> | Microsoft Corp. 2015 </p>
</footer>
</div> <!-- /container -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<script src="js/UserMedia.js"></script>
</body>
</html>