UNPKG

react-native-theoplayer

Version:

A THEOplayer video component for react-native.

42 lines (41 loc) 1.1 kB
"use strict"; import { DefaultTextTrackState } from './DefaultTextTrackState'; import { AspectRatio, PresentationMode, RenderingTarget } from 'react-native-theoplayer'; export class DefaultNativePlayerState extends DefaultTextTrackState { source = undefined; autoplay = false; paused = true; seekable = []; buffered = []; pipConfig = { startsAutomatically: false }; backgroundAudioConfig = { enabled: false }; presentationMode = PresentationMode.inline; muted = false; seeking = false; volume = 1; currentTime = 0; currentProgramDateTime = undefined; duration = NaN; playbackRate = 1; preload = 'none'; aspectRatio = AspectRatio.FIT; renderingTarget = RenderingTarget.SURFACE_VIEW; keepScreenOn = true; audioTracks = []; videoTracks = []; targetVideoQuality = undefined; selectedAudioTrack = undefined; selectedVideoTrack = undefined; width = undefined; height = undefined; videoWidth = undefined; videoHeight = undefined; apply(state) { Object.assign(this, state); } } //# sourceMappingURL=DefaultNativePlayerState.js.map