Class VideoControllerInternal

Implements

Constructors

Properties

Accessors

Methods

addSafeZone appendHelpMenuGroup attachVideoWindow calculateFrameToTime calculateTimeToFrame canAttach canDetach clearHelpMenuGroups clearSafeZones createAudioContext createAudioPeakProcessorWorkletNode createAudioRouter createAudioRouterWithOutputsResolver createSubtitlesVttTrack destroy destroyAudioPeakProcessorWorkletNode detachVideoWindow disablePiP dispatchVideoTimeChange enablePiP formatToTimecode getActiveAudioTrack getActiveNamedEventStreams getActiveSubtitlesTrack getAudioContext getAudioInputOutputNodes getAudioPeakProcessorWorkletNode getAudioTracks getBufferedTimespans getConfig getCurrentFrame getCurrentTime getCurrentTimecode getDuration getFrameRate getHelpMenuGroups getHls getHTMLAudioUtilElement getHTMLVideoElement getMediaElementAudioSourceNode getPlaybackRate getPlaybackState getSafeZones getSubtitlesTracks getThumbnailVttUrl getTotalFrames getVideo getVideoLoadOptions getVideoWindowPlaybackState getVolume hideSubtitlesTrack isDetachable isFullscreen isMuted isPaused isPlaying isSeeking isVideoLoaded loadBlackVideo loadThumbnailVttUrl loadVideo loadVideoInternal mute parseTimecodeToFrame parseTimecodeToTime pause play prependHelpMenuGroup reloadVideo removeAllSubtitlesTracks removeSafeZone removeSubtitlesTrack routeAudioInputOutputNode routeAudioInputOutputNodes seekFromCurrentFrame seekFromCurrentTime seekNextFrame seekPreviousFrame seekToFrame seekToPercent seekToTime seekToTimecode setActiveAudioTrack setPlaybackRate setVolume showSubtitlesTrack toggleFullscreen toggleMuteUnmute togglePlayPause unmute updateActiveNamedEventStreams

Constructors

Properties

onActiveNamedEventStreamsChange$: Subject<OmpNamedEvents[]> = ...
onAudioContextChange$: Subject<AudioContextChangeEvent> = ...
onAudioLoaded$: BehaviorSubject<undefined | AudioLoadedEvent> = ...
onAudioPeakProcessorWorkletNodeMessage$: Subject<
    AudioPeakProcessorWorkletNodeMessageEvent,
> = ...
onAudioRouting$: Subject<AudioRoutingEvent> = ...
onAudioSwitched$: Subject<AudioSwitchedEvent> = ...
onAudioWorkletNodeCreated$: BehaviorSubject<
    undefined
    | AudioWorkletNodeCreatedEvent,
> = ...
onBuffering$: Subject<VideoBufferingEvent> = ...

Fires on video buffering

onEnded$: Subject<VideoEndedEvent> = ...

Fires on video end

onFullscreenChange$: Subject<VideoFullscreenChangeEvent> = ...

Fires on fullscreen change

onHelpMenuChange$: Subject<VideoHelpMenuChangeEvent> = ...
onNamedEvent$: Subject<OmpNamedEvent> = ...

Fires on event which has active stream (see updateActiveNamedEventStreams

onPause$: Subject<VideoPlayEvent> = ...

Fires on video pause

onPlay$: Subject<VideoPlayEvent> = ...

Fires on video play

onPlaybackRateChange$: Subject<VideoPlaybackRateEvent> = ...

Fires on playback rate change

onPlaybackState$: Subject<PlaybackState> = ...
onSeeked$: Subject<VideoSeekedEvent> = ...

Fires on video seeked

onSeeking$: Subject<VideoSeekingEvent> = ...

Fires on video seeking

onSubtitlesCreate$: Subject<SubtitlesCreateEvent> = ...
onSubtitlesHide$: Subject<SubtitlesEvent> = ...
onSubtitlesLoaded$: BehaviorSubject<undefined | SubtitlesLoadedEvent> = ...
onSubtitlesRemove$: Subject<SubtitlesEvent> = ...
onSubtitlesShow$: Subject<SubtitlesEvent> = ...
onThumbnailVttUrlChanged$: Subject<ThumnbailVttUrlChangedEvent> = ...
onVideoError$: Subject<VideoErrorEvent> = ...

Fires on if error occurs on video load

onVideoLoaded$: BehaviorSubject<undefined | VideoLoadedEvent> = ...

Fires on video load. Initial value is undefined. Always emits the current value on subscription.

onVideoLoading$: Subject<VideoLoadingEvent> = ...

Fires on video load start.

onVideoSafeZoneChange$: Subject<VideoSafeZoneChangeEvent> = ...

Fires on video safe zone change

onVideoTimeChange$: Subject<VideoTimeChangeEvent> = ...

Fires on video time change

onVideoWindowPlaybackStateChange$: Subject<VideoWindowPlaybackStateChangeEvent> = ...

Fires on video window playback state change

onVolumeChange$: Subject<VideoVolumeEvent> = ...

Fires on volume change

Accessors

Methods