Skip to main content

SharedMediaProps interface

Signature:

export interface SharedMediaProps

Properties

PropertyModifiersTypeDescription
children?ReactNode(Optional)
className?string(Optional)
controls?HTMLVideoElement["controls"](Optional) Show the media controls (where applicable) (default false)
height?HTMLIFrameElement["height"](Optional)
requireInteraction?boolean(Optional) Require user interaction to play the media. (default false)
style?React.CSSProperties(Optional)
width?HTMLIFrameElement["width"](Optional)