-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathindex.html
executable file
·46 lines (46 loc) · 1.54 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Interaction Cam</title>
<link rel="stylesheet" href="interactioncam.css">
</head>
<body>
<header>
<h1>Interaction cam</h1>
<p>This is a simple photo app, just press space to take a photo.</p>
<p>Then click the appropriate buttons to re-take the photo or upload it to the web. You can also use the left arrow to re-shoot or right arrow to upload.</p>
<p>Press SPACE to start the show!</p>
</header>
<div id="videocontainer">
<video id="video"></video>
</div>
<canvas id="canvas"></canvas>
<div id="controls">
<button id="resetbutton">< Uh, let's try that again…</button>
<button id="uploadbutton">Win! Upload this! ></button>
</div>
<div id="cover"></div>
<div id="uploading">Uploading…</div>
<div id="uploaded">
<form id="imgurform">
Uploaded: <input type="text" id="url">
<a href="#">link</a>
</form>
<button id="startbutton">< Take another</button>
</div>
<footer>
<p>
Written by <a href="http://twitter.com/codepo8">Chris Heilmann</a> -
<a href="https://github.com/codepo8/interaction-cam">Fork on GitHub</a>
</p>
</footer>
<audio src="snap.wav"></audio>
<!-- http://www.freesound.org/people/thecheeseman/sounds/51360/ -->
<audio src="rip.wav"></audio>
<!-- http://www.freesound.org/people/aboe/sounds/68900/ -->
<audio src="takeoff.wav"></audio>
<!-- http://www.freesound.org/people/duckduckpony/sounds/130508/ -->
<script src="interactioncam.js"></script>
</body>
</html>