-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
25 lines (25 loc) · 997 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Networked ruffle</title>
<script src="main.js"></script>
<script src="https://unpkg.com/peerjs@1.3.2/dist/peerjs.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="hostguestchoice" class="modal">
<h1>Player mode</h1>
<p>One player needs to be the host, one player needs to be the guest. Only the host will have control over the mouse.</p>
<p>See an explanation <a href="https://github.com/ZeusWPI/multiplayer-ruffle">here</a></p>
<form class="button-row">
<button onclick="click_host()">HOST</button>
<button onclick="click_guest()">GUEST</button>
</form>
</div>
<div id="connectiondetails" class="modal"></div>
<div id="container"></div>
<video id="receiving-video"></video>
<script src="https://unpkg.com/@ruffle-rs/ruffle@0.1.0-nightly.2023.9.14"></script>
</body>
</html>