<video id="cameraVideo" controls autoplay muted playsinline style="width:100%;height:auto;"></video> <script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script> <script> const video = document.getElementById('cameraVideo'); const url = 'https://your-server/path/stream.m3u8'; if (Hls.isSupported()) const hls = new Hls(); hls.loadSource(url); hls.attachMedia(video); else video.src = url;
Inside the index.shtml source code (Right-click > View Source), look for hidden variables. view index shtml camera better