-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
139 lines (125 loc) · 4 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui" />
<link rel="icon" type="image/png" href="https://kosmi.io/favicon.png" />
<link href="https://fonts.googleapis.com/css?family=Luckiest+Guy" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet">
<meta name="description" content="Watch video files with your friends online using WebRTC!" />
<title>Cowatch Video</title>
<style type="text/css">
html,
body {
display: flex;
height: 100%;
width: 100%;
background-color: #080717;
font-family: Lato, Helvetica Neue, Arial, Helvetica, sans-serif;
margin: 0;
line-height: 24px;
}
a,
a:active,
a:visited,
a:hover {
color: #fff;
text-decoration: none;
}
#container {
margin: auto;
display: flex;
flex-direction: column;
background-color: rgba(0, 0, 0, .8);
color: #fff;
padding: 30px;
max-width: 600px;
}
#cowatchLogo {
color: #606;
font-size: 32px;
font-family: "Luckiest Guy", cursive;
text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
margin-bottom: 25px;
text-align: center;
}
#discordLink {
background-color: #7289da;
text-align: center;
margin: 20px;
padding: 5px;
border-radius: 5px;
}
#discordLink a {
margin-top: 10px;
display: block;
}
#createRoomButton {
background: #e0e1e2 none;
padding: 15px;
font-weight: bold;
text-decoration: none;
border-radius: 3px;
background-color: #23195c;
color: #fff;
font-size: 18px;
margin: 0 auto;
max-width: 400px;
display: flex;
text-align: center;
flex-direction: column;
}
#kosmiLogo {
margin: 0 auto;
width: 116px;
height: 37px;
background-image: url('https://kosmi.io/assets/banner.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
margin: 15px auto;
flex-direction: column;
display: flex;
}
#poweredBy {
display: flex;
flex-direction: column;
text-align: center;
margin-top: 20px;
font-size: 12px;
}
</style>
</head>
<body>
<div id="container">
<div id="cowatchLogo">Cowatch</div>
<p id="discordLink">
Join us on Discord for finding players and more!:
<a href="https://discord.gg/ZxV5N88">
https://discord.gg/ZxV5N88
</a>
</p>
<p>
CoWatch is an experimental way to watch video files with your friends online all from within your browser using WebRTC.
</p>
This is how it works:
<ol>
<li>You create a room with a shareable link.</li>
<li>
You or a member of the room opens a video file in the room.
</li>
<li>
The Video/Audio is streamed to the others in the room using WebRTC.
</li>
</ol>
<a target="_blank" id="createRoomButton" href="https://app.kosmi.io/createRoom">
Click here to create a room and watch something awesome!
</a>
<span id="poweredBy">Powered by
<a
id="kosmiLogo"
href="https://kosmi.io"
></a></span>
</div>
</body>
</html>