forked from samdutton/simpl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (33 loc) · 1.53 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
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Simplest possible examples of HTML, CSS and JavaScript." />
<meta name="author" content="//samdutton.com">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<meta itemprop="name" content="simpl.info: simplest possible examples of HTML, CSS and JavaScript">
<meta itemprop="image" content="/icon_192x192.png">
<meta name="mobile-web-app-capable" content="yes">
<meta id="theme-color" name="theme-color" content="#fff">
<base target="_blank">
<title>getUserMedia</title>
<link rel="stylesheet" href="../css/main.css" />
<style>
@media screen and (min-width: 1000px) {
video {
height: 540px;
}
}
</style>
</head>
<body>
<div id="container">
<h1><a href="../index.html" title="simpl.info home page">simpl.info</a> getUserMedia</h1>
<video autoplay></video>
<script src="js/main.js"></script>
<p>The <code>LocalMediaStream</code> object <code>stream</code> returned by <code>getUserMedia()</code> in this demo is in global scope, so you can inspect it from the console.</p>
<p>For more information, see <a href="http://www.html5rocks.com/en/tutorials/getusermedia/intro/" title="Media capture article by Eric Bidelman on HTML5 Rocks">Capturing Audio & Video in HTML5</a> on HTML5 Rocks.</p>
<a href="//github.com/samdutton/simpl/blob/master/multigum/index.html" title="View source for this page on GitHub" id="viewSource">View source on GitHub</a>
</div>
<script src="../js/lib/ga.js"></script>
</body>
</html>