-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.html
80 lines (73 loc) · 1.66 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style>
body {
background-color: #03A678;
color: white;
}
body, html, h1, h3, p {
margin: 0px;
padding: 0px;
font-family: Verdana, sanf-serif;
}
h1, h3 {
text-align: center;
margin-bottom: 10px;
}
h1 {
margin-top: 10px;
}
a {
text-decoration: none;
color: white;
padding-bottom: 1px;
border-bottom: 2px solid white;
}
p {
line-height: 25px;
font-size: 16px;
}
#video {
display: none;
}
canvas {
background-color: white;
box-shadow: 1px 1px 1px 1px rgba(0,0,0,0.1);
border-radius: 50%;
margin: 10px;
}
.footer {
position: absolute;
padding: 10px;
bottom: 0px;
left: 0px;
right: 0px;
text-align: center;
}
</style>
</head>
<body>
<h1>Resort</h1>
<h3>
A experiment with showing live video feeds with
<a href="https://ipfs.io/" target="_blank">IPFS</a>
and
<a href="https://libp2p.io/" target="_blank">libp2p</a>
</h3>
<div id="feeds"></div>
<video id="video" width="128" height="128" autoplay></video>
<script src="build/index.js"></script>
<div class="footer">
<p>The source code for this experiment can be found here:
<a href="https://github.com/victorbjelkholm/resort">https://github.com/victorbjelkholm/resort</a></p>
<p>
If you can only see yourself, ask a friend to go to the same URL, or open
up the same URL in a new, incognito window.
</p>
</div>
</body>
</html>