forked from muaz-khan/RecordRTC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (79 loc) · 3.43 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!doctype html>
<html>
<head lang="en-us">
<title>WebGL video recording using RecordRTC</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge;chrome=1" />
<link rel="stylesheet" href="https://www.webrtc-experiment.com/style.css">
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="github-stargazers" style="top:5px;right:5px;"></div>
<img src="assets/icon.png" id="icon" alt="icon for image scrapers" />
<canvas id="canvas" width="1024" height="768"></canvas>
<div id="preloader">
<span class="outer">
<span class="inner"> </span>
</span>
</div>
<div id="menu" class="modal">
<div class="inner">
<div class="wobble"><img src="assets/duck.png" />
</div>
<h1 class="wobble2">Ducks!</h1>
<h3>
WebGL video recording using <a href="https://github.com/muaz-khan/RecordRTC">RecordRTC</a>
</h3>
<h4>
Record 10-seconds video. It will auto stop after 10 seconds.
</h4>
<div class="padded">
<button id="btn-start-recording">Start Recording</button>
</div>
</div>
</div>
<div id="scorecard" class="modal">
<div class="inner">
<h3>Nice job! Your time:</h3>
<h1 class="wobble time"><!-- 15 seconds --></h1>
<h3>Your rank:</h3>
<h2 class="rank"><!-- Friendly Mallard --></h2>
<h3 class="byline"><!-- (That's pretty good) --></h3>
<div class="padded">
<button>Play again!</button>
</div>
<p class="info">
<!-- We'll populate this element from the p.info above. -->
</p>
</div>
</div>
<div id="debug"></div>
<script src="https://www.webrtc-experiment.com/RecordRTC.js"></script>
<script src="https://www.webrtc-experiment.com/screenshot.js"></script>
<script src="vendor/glge-compiled.js"></script>
<script src="vendor/jquery-1.7.1.min.js"></script>
<script src="vendor/underscore-min.js"></script>
<script src="vendor/backbone-min.js"></script>
<script src="vendor/buzz.js"></script>
<script src="logic.js"></script>
<script src="view.js"></script>
<div style="position: absolute;right: 0;bottom: 0;z-index: 99999999999;background: #48b8dc;border-top-left-radius: 8px;padding: 5px 10px;padding-bottom: 0;">
WebGL demo is taken from:
<br><a href="https://github.com/statico/webgl-demos" target="_blank">statico/webgl-demos</a>
</div>
<a href="https://github.com/muaz-khan/RecordRTC" class="fork-left"></a>
<section id="ask" class="experiment">
<h2 class="header" id="feedback">Feedback</h2>
<div>
<textarea id="message" style="border: 1px solid rgb(189, 189, 189); height: 8em; margin: .2em; outline: none; resize: vertical; width: 98%;" placeholder="Have any message? Suggestions or something went wrong?"></textarea>
</div>
<button id="send-message" style="font-size: 1em;">Send Message</button>
<small style="margin-left: 1em;">Enter your email too; if you want "direct" reply!</small>
</section>
<!-- commits.js is useless for you! -->
<script>
window.useThisGithubPath = 'muaz-khan/RecordRTC';
</script>
<script src="https://www.webrtc-experiment.com/commits.js" async></script>
</body>
</html>