MediaRendererProps
alt: string; children: ReactNode; className: string; controls: boolean; gatewayUrl: string; height: string; mimeType: string; poster: null | string; requireInteraction: boolean; src: null | string; style: CSSProperties; width: string;}
The alt text for the media.
type alt = string;
type children = ReactNode;
The className to apply on the rendered element to add custom styling.
type className = string;
Show the media controls (where applicable)
By default it is set to false
type controls = boolean;
The IPFS gateway URL to use
type gatewayUrl = string;
The CSS height property to apply on the rendered element.
type height = string;
Provide the MIME type of the media if it is known
type mimeType = string;
The media poster image uri. (if applicable)
type poster = null | string;
Require user interaction to play the media.
By default it is set to false
type requireInteraction = boolean;
The media source uri.
type src = null | string;
The style to apply on the rendered element to add custom styling.
type style = CSSProperties;
The CSS width property to apply on the rendered element.
type width = string;