VideoComponent
Callable
Parameters
props: PropsWithChildren<VisualDataBlock<VideoBlock>>
VisualDataBlock object. See VideoBlock to learn the type of data this component receives.
optionalcontext: any
Returns null | ReactElement<any, any>
VisualDataBlock object. See VideoBlock to learn the type of data this component receives.
VisualContent renderer component that renders
video
type blocks as a responsive video along with its caption (if defined).See the guide page on the VisualContent component to learn how to customize block renderer components like this one.