Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
height: '0',
overflow: 'hidden',
pointerEvents: disableCursorEvents ? 'none' : 'auto'
})
)
const Video = styled.video({
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
border: 'none'
})
const VideoIframe = styled.iframe({
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
border: 'none'
})
export type VideoRendererProps = StatefulPluginEditorProps<
typeof videoState
> & {
disableCursorEvents?: boolean
}
export function VideoRenderer(props: VideoRendererProps) {
const data = getMatchingData(props.state())