Interface MediaRendererProps

The props for the MediaRenderer component.

Hierarchy

  • SharedMediaProps
    • MediaRendererProps

Properties

alt?: string

The alt text for the media.

children?: ReactNode
className?: string
controls?: boolean

Show the media controls (where applicable) (default false)

gatewayUrl?: string

The IPFS gateway URL to use

height?: string
mimeType?: string
poster?: null | string

The media poster image uri. (if applicable)

requireInteraction?: boolean

Require user interaction to play the media. (default false)

src?: null | string

The media source uri.

style?: CSSProperties
width?: string

Generated using TypeDoc