import Hls from "npm:hls.js"; import { sha256 } from "npm:js-sha256"; export interface VideoProps { path: string; vertical?: boolean; } export default function Video({ path, vertical }: VideoProps) { const streamURL = `https://files.xeiaso.net/${path}/index.m3u8`; const id = sha256(streamURL); const video = ( ); const script = ( ); return ( <> {video} {script}