Video component renders a video for the Storefront API's Video object.
The component outputs a
video element. You can customize this component using passthrough props.
Example codeAnchor link to section titled "Example code"
||An object with fields that correspond to the Storefront API's Video object.|
||An object of image size options for the video's
||Props that will be passed to the
Required fieldsAnchor link to section titled "Required fields"
Video component requires the following fields from the Storefront API's
Component typeAnchor link to section titled "Component type"
Video component is a shared component, which means that it renders on both the server and the client. For more information about component types, refer to React Server Components.