Spaces:
Running
Running
File size: 519 Bytes
ac7030c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
"use client"
import { MediaInfo } from "@/types/general"
import { Gsplat } from "../gsplat"
export function GaussianSplattingPlayer({
media,
width,
height,
enableShortcuts = true,
className = "",
// currentTime,
}: {
media: MediaInfo
width?: number
height?: number
enableShortcuts?: boolean
className?: string
// currentTime?: number
}) {
return (
<Gsplat
url={media.assetUrlHd || media.assetUrl}
width={width}
height={height}
className={className}
/>
)
} |