Hierarchy

  • MediaProps

Properties

above?: boolean
below?: boolean
deviceKind: string
html?: boolean
loop?: boolean
media: {
    kind: "video" | "image";
    value: string;
} | {
    kind: "media";
    value: null;
}

Type declaration

  • kind: "video" | "image"
  • value: string

Type declaration

  • kind: "media"
  • value: null
muted?: boolean
onDone: (() => void)

Type declaration

    • (): void
    • Returns void

onError: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      • error: unknown

      Returns void

onLoaded: (() => void)

Type declaration

    • (): void
    • Returns void

target: EventTarget

Generated using TypeDoc