<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<script src="https://cdn.jsdelivr.net/hls.js/latest/hls.min.js"></script>
<body>
<video id="video" autoplay muted></video>
<script>
if(Hls.isSupported()){
var video = document.getElementById('video');
var hls = new Hls();
hls.loadSource('http://127.0.0.1:83/openUrl/lZPcPIs/live.m3u8');
hls.attachMedia(video);
hls.on(Hls.Events.MANIFEST_PARSED,function() {
video.play();
});
}
</script>
</body>
</html>
06-21
430
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-28
2194
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-01
3168
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-15