-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (103 loc) · 5.26 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title>lol doggos</title>
<meta name="robots" content="noindex">
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script> <!-- from https://github.com/video-dev/hls.js -->
<center>
<select id ="ddl" name="ddl" onmousedown="this.value='';" onchange="jsFunction(this.value);">
<option value='https://5f594241d8f51.streamlock.net/live/158.stream/chunklist_w1762004513.m3u8'>Paris 5</option>
<option value='https://5f594241d8f51.streamlock.net/live/215.stream/chunklist_w1518226469.m3u8'>Egypt 1</option>
<option value='https://5f594241d8f51.streamlock.net/live/238.stream/chunklist_w1280733186.m3u8'>Egypt 7</option>
<option value='https://5f594241d8f51.streamlock.net/live/26.stream/chunklist_w861542404.m3u8'>Africa 13</option>
<option value='https://5f594241d8f51.streamlock.net/live/148.stream/chunklist_w2017992011.m3u8'>Indoor 3</option>
<option value='https://5f594241d8f51.streamlock.net/live/88.stream/chunklist_w140663017.m3u8'>Indoor 4</option>
<option value='https://5f594241d8f51.streamlock.net/live/206.stream/chunklist_w558500336.m3u8'>Outdoor 3</option>
<option value='https://5f594241d8f51.streamlock.net/live/155.stream/chunklist_w1231135939.m3u8'>Outdoor 4</option>
</select>
</center>
<center>
<h1>Wonder Pup and her sidekick Fluffy Puppy</h1>
<video width="800" autoplay playsinline controls id="video" controls></video>
</center>
<script>
if(Hls.isSupported()) {
var video = document.getElementById('video');
var hls = new Hls();
// Indoor 3 = https://5f594241d8f51.streamlock.net/live/148.stream/chunklist_w2017992011.m3u8
// Indoor 4 = https://5f594241d8f51.streamlock.net/live/88.stream/chunklist_w140663017.m3u8
// Outdoor 3 = https://5f594241d8f51.streamlock.net/live/206.stream/chunklist_w558500336.m3u8
// Outdoor 4 = https://5f594241d8f51.streamlock.net/live/155.stream/chunklist_w1231135939.m3u8
// Egypt 7 = https://5f594241d8f51.streamlock.net/live/238.stream/chunklist_w1280733186.m3u8
// Egypt 1 = 'https://5f594241d8f51.streamlock.net/live/215.stream/chunklist_w1518226469.m3u8'
// Paris 5 = 'https://5f594241d8f51.streamlock.net/live/158.stream/chunklist_w1762004513.m3u8'
quelle = 'https://5f594241d8f51.streamlock.net/live/158.stream/chunklist_w1762004513.m3u8';
hls.loadSource(quelle);
hls.attachMedia(video);
hls.on(Hls.Events.MANIFEST_PARSED,function() {
video.play();
});
}
// hls.js is not supported on platforms that do not have Media Source Extensions (MSE) enabled.
// When the browser has built-in HLS support (check using `canPlayType`), we can provide an HLS manifest (i.e. .m3u8 URL) directly to the video element throught the `src` property.
// This is using the built-in support of the plain video element, without using hls.js.
else if (video.canPlayType('application/vnd.apple.mpegurl')) {
video.src = 'https://video-dev.github.io/streams/x36xhzz/x36xhzz.m3u8';
video.addEventListener('canplay',function() {
video.play();
});
}
</script>
<script>
function jsFunction(value)
{
var video = document.getElementById('video');
var hls = new Hls();
hls.loadSource(value);
hls.attachMedia(video);
hls.on(Hls.Events.MANIFEST_PARSED,function() {
video.play();
});
}
</script>
<center>
<a href='https://5f594241d8f51.streamlock.net/live/148.stream/chunklist_w2017992011.m3u8'>Indoor 3</a>
<br />
<a href='https://5f594241d8f51.streamlock.net/live/88.stream/chunklist_w140663017.m3u8'>Indoor 4</a>
<br />
<a href='https://5f594241d8f51.streamlock.net/live/206.stream/chunklist_w558500336.m3u8'>Outdoor 3</a>
<br />
<a href='https://5f594241d8f51.streamlock.net/live/155.stream/chunklist_w1231135939.m3u8'>Outdoor 4</a>
<br />
<br />
<a href='https://5f594241d8f51.streamlock.net/live/158.stream/chunklist_w1762004513.m3u8'>Paris 5</a>
<br />
<a href='https://5f594241d8f51.streamlock.net/live/215.stream/chunklist_w1518226469.m3u8'>Egypt 1</a>
<br />
<a href='https://5f594241d8f51.streamlock.net/live/238.stream/chunklist_w1280733186.m3u8'>Egypt 7</a>
<br />
<a href='https://5f594241d8f51.streamlock.net/live/26.stream/chunklist_w861542404.m3u8'>Africa 13</a>
<br />
<br />
<a href='https://g0.ipcamlive.com/player/player.php?alias=spectrumfront1'>PSP spec front</a>
<br />
<a href='https://g0.ipcamlive.com/player/player.php?alias=spectrummiddle1'>PSP spec middle</a>
<br />
<a href='https://g0.ipcamlive.com/player/player.php?alias=spectrumback'>PSP spec back</a>
<br />
<a href='https://g0.ipcamlive.com/player/player.php?alias=spectrumfront2'>PSP spec mini</a>
<br />
<br />
<a href='https://g0.ipcamlive.com/player/player.php?alias=front1'>PSP jam front 1</a>
<br />
<a href='https://g0.ipcamlive.com/player/player.php?alias=front2'>PSP jam front 2</a>
<br />
<a href='https://g0.ipcamlive.com/player/player.php?alias=middle'>PSP jam middle</a>
<br />
<a href='https://g0.ipcamlive.com/player/player.php?alias=back1'>PSP jam back</a>
</center>
</body>
</html>