-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplayer.html
62 lines (48 loc) · 2.18 KB
/
player.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Player</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<script type="text/javascript" src="./jquery-3.3.1.min.js"></script>
<!-- scripts used for peers connection -->
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
<script src="./PeerConnection.js"> </script>
<script src="https://cdn.webrtc-experiment.com/view/websocket.js"> </script>
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-bundle.js"></script>
<script type="text/javascript" src="https://cdn.socket.io/socket.io-1.3.5.js"></script>
<script type="text/javascript" src="./player.js"></script>
<link rel="stylesheet" href="https://cdn.webrtc-experiment.com/style.css">
<link rel="stylesheet" href="./index.css">
<link rel="stylesheet" href="./player.css">
</head>
<body>
<div id="alien">
<img id="logo" src="./assets/images/logo.png" alt="">
<canvas id="waves" width="300" height="180"></canvas>
<div id="avatar" class="card">
<div class="card-body">
This is the place of the avatar.
</div>
</div>
<svg id="circle">
<circle cx="50" cy="50" r="40" />
</svg>
</div>
<!-- just copy this <section> and next script -->
<section id="experiment" class="experiment">
<!--<section>
<span>
Private??<a href="/websocket/" target="_blank" title="Setup Private Room!"><code><strong id="unique-token">#123456789</strong></code></a>
</span>
<input type="text" id="your-name" placeholder="insert name">
<button id="start-broadcasting" class="setup">Start</button>
</section>-->
<!-- list of all available conferencing rooms -->
<table id="rooms-list" style="width: 100%;"></table>
<!-- local/remote videos container -->
<div id="videos-container"></div>
</section>
</body>
</html>