forked from rikkertkoppes/spacex-telemetry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.2 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 lang="en">
<head>
<meta charset="UTF-8">
<title>youtube capturing</title>
<style>
iframe {
position: absolute;
top: 0;
right: 0;
}
#frame {
position: relative;
display: inline-block;
width: 420px;
height: 300px;
overflow: hidden;
pointer-events: none;
}
#result {
display: inline-block;
vertical-align: top;
}
#result canvas {
display: block;
}
#classifier {
width: 200px;
height: 16px;
}
#debug {
width: 200px;
}
</style>
</head>
<body>
<div id="frame">
<iframe width="1920" height="1080" src="https://www.youtube.com/embed/v8U2KXZzvtA?autoplay=1" frameborder="0" allowfullscreen></iframe>
</div>
<div id="result">
<div id="buffers"></div>
<canvas id="classifier" width="200" height="16"></canvas>
<img id="chars" src="characters.png">
<pre id="debug"></pre>
</div>
<video style="display:none"></video>
<script src="app.js"></script>
</body>
</html>