-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroom.html
103 lines (97 loc) · 2.95 KB
/
room.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
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Room</title>
<script src="https://unpkg.com/[email protected]/dist/peerjs.min.js"></script>
<link rel="stylesheet" type="text/css" href="assets/style/animations.css" />
<link rel="shortcut icon" type="image/jpg" href="assets/favicon.png"/>
<link rel="stylesheet" type="text/css" href="assets/style/main.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<style type="text/css">
html,
body {
font: normal 12px/18px "helvetica neue" arial;
color: #333;
}
#jscii-element-webrtc {
position: absolute;
top: 10px;
right: 10px;
/* border: 5px #050505 solid; */
width: 15%;
height: 15%;
}
.section > pre {
font: bold 8px/5px monospace;
color: #000;
clear: left;
}
video {
width: 200px;
}
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.clearfix {
display: inline-block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
</style>
</head>
<body>
<a href="./index.html">
<button id="close-btn" onclick="mouseClick()">
<i class="fa fa-times fa-2x" aria-hidden="true"></i></button
></a>
<a href="https://github.com/IshaanOhri/feather" target="_blank">
<button id="share-btn" onclick="mouseClick()">
<i class="fa fa-github fa-2x" aria-hidden="true"></i></button
></a>
<audio id="mouse">
<!-- <source src="assets/key1.ogg" type="audio/ogg"> -->
<source src="assets/mouse.mp3" type="audio/mpeg" />
Your browser does not support the audio tag.
</audio>
<video autoplay muted loop id="myVideo">
<source src="assets/glitch_1.mp4" type="video/mp4" />
</video>
<video id="self-video" autoplay>Your browser does not support video</video>
<div class="container">
<div class="section clearfix">
<video id="jscii-element-webrtc" autoplay hidden>
Your browser does not support video
</video>
<div></div>
<pre id="ascii-container-webrtc"></pre>
</div>
</div>
<div id="outer-screen">
</div>
<div id="monitor">
<div id="screen">
<div id="crt" class="on">
<!-- <pre id="ascii-container-webrtc"></pre> -->
<div class="scanline"></div>
<div class="terminal"></div>
</div>
</div>
</div>
</body>
<script src="./assets/js/room-ascii.js"></script>
<script src="./assets/js/room.js"></script>
</html>