<video id="video" controls width="100%" playsinline></video>
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<script>
const video = document.getElementById('video');
const m3u8Url = 'https://ktvhdsg.ekantipur.com:8443/high_quality_85840165/hd/playlist.m3u8';
if (Hls.isSupported()) {
const hls = new Hls();
hls.loadSource(m3u8Url);
hls.attachMedia(video);
} else if (video.canPlayType('application/vnd.apple.mpegurl')) {
video.src = m3u8Url;
}
</script>