Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

524 B
Raw Blame
import { cssVar } from '@lobehub/ui';
import { memo } from 'react';

interface GuideVideoProps {
  height: number;
  src: string;
  width: number;
}

const GuideVideo = memo<GuideVideoProps>(({ height, width, src }) => {
  return (
    <video
      autoPlay
      loop
      muted
      controls={false}
      height={height}
      src={src}
      width={width}
      style={{
        background: cssVar.colorFillSecondary,
        height: 'auto',
        width: '100%',
      }}
    />
  );
});

export default GuideVideo;