Version: 2.67.0

SourceConfiguration

THEOplayer > SourceConfiguration

SourceConfiguration interface

Describes the configuration of a player's source.

Signature:
export interface SourceConfiguration

Properties

Property

Type

Description

ads (optional)

AdDescription

List of AdDescriptions to be queued for playback.

analytics (optional)

AnalyticsDescription

List of AnalyticsDescriptions to configure analytics integrations for the media source.

blockContentIfAdError (optional)

boolean

Whether the player should be blocked when an ad-related error occurs.

contentProtection (optional)

DRMConfiguration

Content protection configuration.

drm (optional)

DRMConfiguration

Content protection configuration.

manifestMetadataTrack (optional)

boolean

Whether segments in a HLS manifest should be represented by cues in a metadata text track.

metadata (optional)

ChromecastMetadataDescription

Chromecast metadata configuration.

mutedAutoplay (optional)

MutedAutoplayConfiguration

The muted autoplay policy.

poster (optional)

string

The poster of the media source.

textTracks (optional)

TextTrackDescription

List of text tracks to be side-loaded with the media source.

timeServer (optional)

string

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

vr (optional)

VRConfiguration

Virtual reality configuration.