-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (63 loc) · 3.19 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
66
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<title>M3U8 讀取器</title>
<!-- css link -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/video.js/5.10.2/alt/video-js-cdn.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/background.css" rel="stylesheet">
<!-- js link -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/5.10.2/video.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/3.0.2/videojs-contrib-hls.js"></script>
<script src="js/execute.js"></script>
</head>
<body>
<div class="container bg d-flex justify-content-center align-items-center" style="height: 100vh;">
<ul class="glass">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<div class="container">
<div class="container d-flex justify-content-center align-items-center glass_screen">
<div class="d-flex justify-content-center">
<div class="card-body text-center">
<div class="card-header">
<h2><span class="badge text-bg-light rounded-pill">M3U8 播放器</span></h2>
</div>
<div class="card-subtitle">
<span class="badge rounded-pill text-bg-info">有時候一個m3u8裏面的.ts太大的時候,就需要耐心等待哦~</span>
</div>
<input type="text" id="url" value="https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8">
<button id="btn">▶</button>
<div class="card-img pt-2 pb-3">
<div class="card-footer text-muted">
<div class="embed-responsive embed-responsive-16by9">
<video id="video" class="video-js vjs-default-skin embed-responsive-item" preload="metadata" crossorigin="true" controls>
<source src="https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8" type="application/x-mpegURL">
</video>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>