-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
65 lines (57 loc) · 1.67 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
<!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>http-flv</title>
<style>
body,html{
width:100%;
}
.play-button {
display: inline-block;
background-image: -webkit-linear-gradient(10deg,#6fcdff,#9afff5);
background-image: linear-gradient(80deg,#6fcdff,#9afff5);
width: 200px;
margin-top: 20px;
height: 38px;
border-radius: 20px;
cursor: pointer;
outline: 0;
border: 0;
font-size: 18px;
line-height: 1;
color: #2f3f51;
font-weight: 500;
}
.http-url {
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding-left: 8px;
font-size: 16px;
width: 280px;
height: 50px;
border-radius: 2px;
border: solid 1px #979797;
margin-top: 15px;
-webkit-box-shadow: none;
box-shadow: none;
}
.video-player{
margin:20px;
width: 80%;
max-width: 680px;
}
</style>
</head>
<body>
<input type="text" id="httpUrl" placeholder="直播链接" class="http-url" />
<br />
<button class="play-button" id="start-player">Start</button>
<br />
<video src="" id="videoTag" class="video-player" webkit-playsinline no-controls playsinline></video>
<br />
<script src="public/index.js"></script>
</body>
</html>