Version: 2.67.0

PlayerConfiguration

THEOplayer > PlayerConfiguration

PlayerConfiguration interface

Describes a player's configuration.

Signature:
export interface PlayerConfiguration

Properties

Property

Type

Description

ads (optional)

AdsConfiguration

The ads configuration for the player.

allowMixedContent (optional)

boolean

Whether mixed HTTP/HTTPS content is allowed.

allowNativeFullscreen (optional)

boolean

Whether the native video element's fullscreen should be used whenever THEOplayer's fullscreen is unsupported.

analytics (optional)

AnalyticsDescription

List of analytics configurations for the player.

cast (optional)

CastConfiguration

The cast configuration for the player.

hlsDateRange (optional)

boolean

Whether date ranges will be parsed from HLS manifests.

isEmbeddable (optional)

boolean

Whether THEOplayer will be used in an iframe.

libraryLocation (optional)

string

The directory in which the THEOplayer library worker files are located. These worker files are theoplayer.d.js, theoplayer.e.js, theoplayer.p.js.

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.

mutedAutoplay (optional)

MutedAutoplayConfiguration

The muted autoplay policy.

persistVolume (optional)

boolean

Whether volume preferences will be persisted across player sessions.

verizonMedia (optional)

VerizonMediaConfiguration

The Verizon Media configuration for the player.