@byomakase/omakase-player
    Preparing search index...

    Class ClockPlayerController

    Headless virtual player controller, only virtual clock without visuals. Plays at every playback rate, also backwards.

    It doesn't load main media, it is wired with main media loaded by other controller, see CompositePlayerController, which drives main media time with it at playback rates its media element can't play at.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get seekStepPlayback(): boolean

      Virtual main media plays at every playback rate, its time always runs on its own clock.

      Returns boolean

    • get sidecarVideosElement(): HTMLElement

      Element sidecar videos without own host element are mounted into, layered over main media.

      Returns HTMLElement

    • get videoElement(): HTMLVideoElement | undefined

      Undefined for controllers that play virtual media without media element (ie. slate)

      Returns HTMLVideoElement | undefined

    Methods

    • Sets clock time, playback rate and playing state at once, synchronously, ie. to continue from main media time of other controller. Only playback state change is emitted, no play, pause, seek or playback rate update events.

      Parameters

      • time: number
      • playbackRate: number
      • playing: boolean

      Returns void