jbilcke's picture
working to improve the clap format
f42b4a1
raw
history blame
530 Bytes
"use client"
import { MediaInfo } from "@/types/general"
import { LatentEngine } from "../latent-engine"
export function LatentPlayer({
media,
width,
height,
className = "",
// currentTime,
}: {
media: MediaInfo
width?: number
height?: number
className?: string
// currentTime?: number
}) {
// TODO add a play bar which should support fixed, streaming and live modes
return (
<LatentEngine
url={media.clapUrl}
width={width}
height={height}
className={className}
/>
)
}