Embed: Partial<ImageInfo> & {
    area: View;
    autoplayFrame?: boolean;
    clickAction?: "markerId" | "href";
    clickTarget?: string;
    clickTargetBlank?: boolean;
    frameSrc?: string;
    height?: number;
    hideWhenPaused?: boolean;
    isPng?: boolean;
    isWebP?: boolean;
    micrioId?: string;
    opacity?: number;
    rotX?: number;
    rotY?: number;
    rotZ?: number;
    scale?: number;
    scaleX?: number;
    scaleY?: number;
    src?: string;
    title?: string;
    uuid?: string;
    video?: Video & {
        pauseWhenSmallerThan?: number;
    };
    width?: number;
}

An embedded element inside the main image. This could be an image, iframe embed, or simple empty HTML element (Spaces). This is created in the Micrio editor or Spaces.

Type declaration

  • area: View

    The area inside the main image to place the embed

  • Optional autoplayFrame?: boolean

    Autoplay YT/Vimeo

  • Optional clickAction?: "markerId" | "href"

    Click interaction

  • Optional clickTarget?: string

    Click action target

  • Optional clickTargetBlank?: boolean

    Opens link in new window

  • Optional frameSrc?: string

    An optional iframe src url

  • Optional height?: number

    Optional image height

  • Optional hideWhenPaused?: boolean

    Hide while not playing video/media

  • Optional isPng?: boolean

    Optional isPng

  • Optional isWebP?: boolean

    IsWebP

  • Optional micrioId?: string

    An optional Micrio ID

  • Optional opacity?: number

    Opacity

  • Optional rotX?: number

    X rotation in 360

  • Optional rotY?: number

    Y rotation in 360

  • Optional rotZ?: number

    Z rotation in 360

  • Optional scale?: number

    Relative scale for IFRAME embed in 360

  • Optional scaleX?: number
  • Optional scaleY?: number
  • Optional src?: string

    Original asset url

  • Optional title?: string

    Optional title

  • Optional uuid?: string

    Unique instance ID

  • Optional video?: Video & {
        pauseWhenSmallerThan?: number;
    }

    A video asset

  • Optional width?: number

    Optional image width