How To Use Video.JS ?

I'm currently in ShenZhen, China. Required by a business project, I'll have to test out Video.JS these days.

Getting Started

Code

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
<head>
<title>Welcome to visionopen.com!</title>
<link href="https://vjs.zencdn.net/7.4.1/video-js.css" rel="stylesheet">

<!-- If you'd like to support IE8 (for Video.js versions prior to v7) -->
<script src="https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
</head>

<body>

<table>
<tr>
<th>
<video id='TianTian_01' class='video-js' controls preload='auto' width='320' height='568'
poster='./TianTian_01.jpg' data-setup='{}'>
<source src="./TianTian_01.mp4" type="video/mp4"></source>
</video>
</th>
<th>
<video id='TianTian_02' class='video-js' controls preload='auto' width='320' height='568'
poster='./TianTian_02.jpg' data-setup='{}'>
<source src="./TianTian_02.mp4" type="video/mp4"></source>
</video>
</th>
<th>
<video id='TianTian_03' class='video-js' controls preload='auto' width='320' height='568'
poster='./TianTian_03.jpg' data-setup='{}'>
<source src="./TianTian_03.mp4" type="video/mp4"></source>
</video>
</th>
<th>
<video id='TianTian_04' class='video-js' controls preload='auto' width='320' height='568'
poster='./TianTian_04.jpg' data-setup='{}'>
<source src="./TianTian_04.mp4" type="video/mp4"></source>
</video>
</th>
<th>
<video id='TianTian_05' class='video-js' controls preload='auto' width='320' height='568'
poster='./TianTian_05.jpg' data-setup='{}'>
<source src="./TianTian_05.mp4" type="video/mp4"></source>
</video>
</th>
<th>
<video id='TianTian_06' class='video-js' controls preload='auto' width='320' height='568'
poster='./TianTian_06.jpg' data-setup='{}'>
<source src="./TianTian_06.mp4" type="video/mp4"></source>
</video>
</th>
</tr>
</table>

<script src='https://vjs.zencdn.net/7.4.1/video.js'></script>
</body>

Play The Videos

Multiple Videos

Obtain Rectangle On Videos