-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
58 lines (44 loc) · 1.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>弹幕</title>
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="./danmu.css" />
</head>
<body>
<div style="position: relative; left:200px; top:10px; overflow-x: hidden">
<div id="video_mask">
<video autoplay loop controls muted style="top:15px; position: relative"
src="http://45.252.224.75/mp4files/910000000DD6ED95/clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"></video>
</div>
<div id="container" class="slide-danmu" style="top: 15px; left: 0px; height: 758px; width: 1349px;"></div>
</div>
<div style="margin-top:20px; text-align:center">
<div>总弹幕数:<label id="lbTotal">0</label>; hide的弹幕数<label id="lbHide">0</label>;在视窗的弹幕数:<label
id="lbInView">0</label></div>
</div>
<div style="text-align:center">
<button id="btnStart">开始</button>
<button id="btnStop">停止</button>
<button id="btnPause">暂停</button>
<button id="btnContiue">继续</button>
<button id="btnFull">全屏</button>
</div>
<div style="text-align:center">
发送间隔:<input type="number" id="txtInterval" value="100">
批量发送数量:<input type="number" id="txtBatchCount" value="1" max="20">
<button id="btnBigTest">压力测试</button>
</div>
<div style="text-align:center">
<input id="txtDanmu" style="width: 600px" value="春天花卉开,你们都是我的爱!!!!!"/>
<button type="button" id="btnSend">发送</button>
</div>
<script src="./test.ts"></script>
<script>
// TODO::测试脚本
</script>
</body>
</html>