OGPlayer React Native SDK
    Preparing search index...

    Interface OGPlayerViewRef

    interface OGPlayerViewRef {
        enterFullscreen(): void;
        exitFullscreen(): void;
        pause(): void;
        play(): void;
        retry(): void;
        seekBackward(): void;
        seekForward(): void;
        seekTo(positionMs: number): void;
        seekToLiveEdge(): void;
        selectAudioTrack(id: string): void;
        selectTextTrack(id: string | null): void;
        selectVideoQuality(id: string | null): void;
        skipToNext(): void;
    }
    Index
    • null = subtitles off

      Parameters

      • id: string | null

      Returns void

    • null = automatic ABR

      Parameters

      • id: string | null

      Returns void

    • Skips to the next playlist item now (what the "Up next" card's tap does).

      Returns void