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

    Interface OmakasePlayerApi

    interface OmakasePlayerApi {
        get audio(): AudioApi;
        get chroming(): ChromingApi;
        get config(): OmakasePlayerConfig;
        set config(config: OmakasePlayerConfig): void;
        get subtitles(): SubtitlesApi;
        get timeline(): TimelineApi | undefined;
        get video(): VideoApi;
        createMarkerList(config: MarkerListConfig): Observable<MarkerListApi>;
        createTimeline(
            config: Partial<ConfigWithOptionalStyle<TimelineConfig>>,
        ): Observable<TimelineApi>;
        destroy(): void;
        initializeRouterVisualization(
            config: RouterVisualizationConfig,
        ): RouterVisualizationApi;
        loadVideo(videoSourceUrl: string): Observable<Video>;
        loadVideo(
            videoSourceUrl: string,
            options?: VideoLoadOptions,
        ): Observable<Video>;
        setAuthentication(authentication: AuthenticationData): void;
    }

    Hierarchy (View Summary)

    • Api
      • OmakasePlayerApi

    Implemented by

    Index

    Accessors

    Methods

    • Set authentication for HLS.js, VTT and thumbnail image requests

      Parameters

      • authentication: AuthenticationData

        Basic authentication, Bearer token authentication or custom authentication function

      Returns void