...
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<link
href="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.10.2/video-js.min.css"
rel="stylesheet"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/video.js/7.10.2/video.min.js">
</script>
</head>
<body>
<video-js id="vid1" controls preload="auto">
<!-- Replace the src URL with the HLS manifest URL for a given video
You can access this from the Cloudflare Stream dashboard or via the Stream API
-->
<source
src="https://vcp.myplaytv.com/promar/promar/playlist.m3u8"
type="application/x-mpegURL"
/>
</video-js>
<script>
const vid = document.getElementById('vid1');
const player = videojs(vid);
</script>
</body>
</html>
... 谢谢 顺便说一句,我还在 W3Scools 打开了一个免费的网站,运行了脚本,还提出了黑盒