Files
lms-sb/src/components/player/kinescope-player.tsx
T

20 lines
403 B
TypeScript

"use client";
import KinescopeReactPlayer from "@kinescope/react-kinescope-player";
interface Props {
videoId: string;
}
export function KinescopePlayer({ videoId }: Props) {
return (
<div className="w-full aspect-video" style={{ border: "2px solid var(--border)" }}>
<KinescopeReactPlayer
videoId={videoId}
width="100%"
height="100%"
/>
</div>
);
}