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

    Class PlayerVideoInternal

    Manages sidecar video tracks (HLS streams or MP4 files) played in their own DOM controllers, synced with main media. Only one sidecar video can be active, see PlayerVideoCommonApi.switchTrack.

    Implements

    Index

    Constructors

    Accessors

    Methods

    • Activates or deactivates sidecar video. Only one sidecar video can be active, activating sidecar video deactivates the previously active one.

      Active sidecar video is shown and played with its sound while main media time is inside its time window, slate or main media is shown otherwise. Every sidecar video warms up - plays hidden and muted - shortly before its time window, to pre-buffer and sync before its cut is shown. Inactive sidecar video keeps warming up inside its time window, so it can be activated without seeking.

      Parameters

      • trackId: string

        ID of the sidecar video track.

      • activate: boolean = true

        Whether to activate or deactivate the track. Defaults to true.

      Returns Observable<void>