-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.htm
31 lines (28 loc) · 1.31 KB
/
index.htm
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
<html>
<head>
<title>Video stream sample</title>
</head>
<body style="background-color: burlywood">
<div style="font-size: 50; color: blueviolet;">Cartoon Video1</div>
<video id="video0" width="200" controls>
<source src="http://localhost:3000/video?id=0" type="video/mp4">
</video>
<button id="toggleButton0" style='font-size:10;color:green'>Start/Stop</button>
<script src="index.js"></script>
<div style="font-size: 50; color: blueviolet">Gurudev's Video1</div>
<video id="video1" width="200" controls>
<source src="http://localhost:3000/video?id=1" type="video/mp4">
</video>
<button id="toggleButton1" style='font-size:10;color:royalblue'>Start/Stop</button>
<div style="font-size: 50; color: blueviolet">Gurudev's Video2</div>
<video id="video2" width="200" controls>
<source src="http://localhost:3000/video?id=2" type="video/mp4">
</video>
<button id="toggleButton2" style='font-size:10;color:royalblue'>Start/Stop</button>
<div style="font-size: 50; color: blueviolet">Gurudev's Video3</div>
<video id="video3" width="200" controls>
<source src="http://localhost:3000/video?id=3" type="video/mp4">
</video>
<button id="toggleButton3" style='font-size:10;color:royalblue;font-weight: 300'>Start/Stop</button>
</body>
</html>