Micrio Client - v6.0.0
    Preparing search index...

    Class VideoTourInstance

    Controls the playback of a video tour, animating the camera according to a predefined timeline and synchronizing with associated audio/video media. Instances are typically created and managed by the Tour.svelte component.

    Index

    Constructors

    Accessors

    • get currentTime(): number

      Getter for the current playback time in seconds.

      Returns number

    • set currentTime(v: number): void

      Setter for the current playback time (seeks to the corresponding progress).

      Parameters

      • v: number

      Returns void

    • get duration(): number

      Getter for the total duration of the tour in seconds.

      Returns number

    • set duration(v: number): void

      Setter for the total duration (updates internal content).

      Parameters

      • v: number

      Returns void

    • get ended(): boolean

      Getter indicating if the tour has ended.

      Returns boolean

    • get paused(): boolean

      Getter for the current paused state.

      Returns boolean

    • get progress(): number

      Getter for the current progress percentage (0-1).

      Returns number

    • set progress(v: number): void

      Setter for the current progress percentage (seeks to that point).

      Parameters

      • v: number

      Returns void

    Methods

    • Cleans up the tour instance, stops animations, and re-hooks events if necessary.

      Returns void

    • Pauses the tour playback.

      Returns void

    • Starts or resumes tour playback.

      Returns void

    • Parses the raw timeline data from the tour content into the internal timeline array.

      Returns void