securityos/components/apps/VideoPlayer/index.tsx

18 lines
654 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import AppContainer from "components/apps/AppContainer";
import StyledVideoPlayer from "components/apps/VideoPlayer/StyledVideoPlayer";
import useVideoPlayer from "components/apps/VideoPlayer/useVideoPlayer";
import type { ComponentProcessProps } from "components/system/Apps/RenderComponent";
const VideoPlayer: FC<ComponentProcessProps> = ({ id }) => (
<AppContainer
StyledComponent={StyledVideoPlayer}
id={id}
useHook={useVideoPlayer}
>
{/* eslint-disable-next-line jsx-a11y/media-has-caption */}
<video className="video-js vjs-big-play-centered" autoPlay />
</AppContainer>
);
export default VideoPlayer;