-
Notifications
You must be signed in to change notification settings - Fork 0
/
202009071305001.html
53 lines (47 loc) · 1.15 KB
/
202009071305001.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
<!--
* @Author: [JokerChen]
* @Date: 2020-09-07 13:05:27
* @LastEditors: [JokerChen]
* @LastEditTime: 2021-11-20 17:26:45
* @Description:
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="js/jquery-1.7.2.min.js"></script>
<script src="https://unpkg.com/video.js/dist/video.min.js"></script>
<title>视频播放</title>
</head>
<style>
</style>
<body>
<video id="videoID" controls="true"
style="object-fit:fill"
src=""
class="horizontal-img"
preload="metadata"
webkit-playsinline="true"
playsinline="true"
x-webkit-airplay="allow"
x5-video-player-type="h5"
x5-video-player-fullscreen="true"
x5-video-orientation="landscape"
autoplay>
抱歉,您的浏览器不支持内嵌视频!+
</video>
</body>
</html>
<script type="application/javascript">
videoDom.addEventListener('ended', function(event) {
if (index === length-1) {
videoDom.pause();
} else {
index += 1;
videoDom.src = videos[index].videoUrl;
videoDom.play();
}
})
</script>
</script>