Props: {
    imgAlt?: string;
    media?: object;
    title?: string;
    url?: string | URL;
    urlDefault?: string | URL;
    videoAutoplay?: boolean;
    videoLoop?: boolean;
    videoMuted?: boolean;
    videoPlaybackRate?: number;
    videoPlayOnHover?: boolean;
}

Props type alias for associated component.

Type declaration

  • OptionalimgAlt?: string

    Alternate image text.

  • Optionalmedia?: object
  • Optionaltitle?: string

    A title for the media element.

  • Optionalurl?: string | URL

    URL path / URL for media content.

  • OptionalurlDefault?: string | URL

    Default URL path / URL for media content when no URL is configured.

  • OptionalvideoAutoplay?: boolean

    Automatically start video playback; default: true

  • OptionalvideoLoop?: boolean

    Automatically loop video; default: true

  • OptionalvideoMuted?: boolean

    Mute video playback audio; default: true

  • OptionalvideoPlaybackRate?: number

    Video playback rate - clamped internally between 0 - 2.

  • OptionalvideoPlayOnHover?: boolean

    Play video on pointer hover.