You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
493 B
16 lines
493 B
import { VideoPlayerHeader } from "@/video/components/parts/VideoPlayerHeader"; |
|
import { useVideoPlayerDescriptor } from "@/video/state/hooks"; |
|
import { useMeta } from "@/video/state/logic/meta"; |
|
|
|
interface Props { |
|
onClick?: () => void; |
|
showControls?: boolean; |
|
isFullScreen: boolean; |
|
} |
|
|
|
export function HeaderAction(props: Props) { |
|
const descriptor = useVideoPlayerDescriptor(); |
|
const meta = useMeta(descriptor); |
|
|
|
return <VideoPlayerHeader media={meta?.meta.meta} {...props} />; |
|
}
|
|
|