Video Player

Video Player components

Video Player Modal

Modal component with React Player.

Icon
VideoPlayer
App.tsx
Content.tsx
createProvider.tsx
import { Flex } from '@chakra-ui/react'
import { Content } from './Content'
import { VideoPlayer, Provider } from './VideoPlayer'

export function App() {
  return (
    <Provider>
      <Flex
        flex={1}
        h="full"
        flexDirection="column"
        bg="transparent"
        alignItems="center"
        justifyContent="center"
        minH={{ base: 'auto', lg: '600px' }}
      >
        <Content src="https://vimeo.com/169599296" />
      </Flex>
      <VideoPlayer />
    </Provider>
  )
}