Added New HslPlayer

This commit is contained in:
2025-10-04 21:24:15 +05:30
parent b63346b93d
commit 5bb696c9e4
7 changed files with 1078 additions and 100 deletions
+21
View File
@@ -0,0 +1,21 @@
---
import HSLPLayer from "../components/HSLPLayer.astro";
import ComponentLayout from "../layouts/ComponentLayout.astro";
---
<ComponentLayout>
<HSLPLayer
videoUrl="https://stream-middleware.workroot.in/hls/live/t05Pbqv01N/2025-10-04_15-26-30/master.m3u8"
poster="https://stream-middleware.workroot.in/thumbnail/live/t05Pbqv01N/2025-10-04_15-26-30.jpg"
videoType="application/x-mpegURL"
class="wr:w-[500px]"
muted={false}
volume={0.7}
/>
</ComponentLayout>
<script>
import Hls from "hls.js";
window.hls = Hls;
</script>