forked from ZeusWPI/multiplayer-ruffle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
25 lines (25 loc) · 957 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="zh">
<head>
<meta charset="utf-8"/>
<title>联网Ruffle</title>
<script src="main.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="hostguestchoice" class="modal">
<h1>玩家模式</h1>
<p>一个玩家需要作为主机,一个玩家需要作为客人。只有主机可以控制鼠标。</p>
<p>点击<a href="https://github.com/ZeusWPI/multiplayer-ruffle">这里</a>查看说明</p>
<form class="button-row">
<button onclick="click_host()">主机</button>
<button onclick="click_guest()">客人</button>
</form>
</div>
<div id="connectiondetails" class="modal"></div>
<div id="container"></div>
<video id="receiving-video" autoplay></video>
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
</body>
</html>