import { Box, Text } from '@chakra-ui/react' import { VideoBubbleStep, VideoBubbleContentType } from 'models' export const VideoStepNodeContent = ({ step }: { step: VideoBubbleStep }) => { if (!step.content?.url || !step.content.type) return Click to edit... switch (step.content.type) { case VideoBubbleContentType.URL: return ( ) case VideoBubbleContentType.VIMEO: case VideoBubbleContentType.YOUTUBE: { const baseUrl = step.content.type === VideoBubbleContentType.VIMEO ? 'https://player.vimeo.com/video' : 'https://www.youtube.com/embed' return (