Version: 2.67.0

BaseSource

THEOplayer > BaseSource

BaseSource interface

Represents the common properties of a media resource.

Signature:
export interface BaseSource

Properties

Property

Type

Description

crossOrigin (optional)

CrossOriginSetting

The cross-origin setting of the source.

hlsDateRange (optional)

boolean

Whether the player should parse and expose date ranges from HLS manifests.

integration (optional)

SourceIntegrationId

The integration ID of the source.

liveOffset (optional)

number

The offset in seconds used to determine the live point. This live point is the end of the manifest minus the provided offset.

lowLatency (optional)

boolean

Whether the source should be played in the low-latency-mode of the player.

timeServer (optional)

string

The URL of a time server used by the player to synchronise the time in DASH sources.

useCredentials (optional)

boolean

Whether the player is allowed to use credentials for cross-origin requests.

useNativePlayback (optional)

boolean

Whether this source should be played using native playback.