Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface InitOptions

Oneplayerui initialisation options

Hierarchy

  • InitOptions

Index

Properties

Optional adInsertionConfig

adInsertionConfig: AdInsertionConfiguration

Ad insertion module configuration

Optional emitPlayerTimeUpdate

emitPlayerTimeUpdate: undefined | false | true

Emit player time update event

Optional enableBackForBreakpoints

enableBackForBreakpoints: string[] | string

Breakpoints array on which back button will be displayed (for example ['sm', 'md']) Another option is to use a string, for exmaple 'md+', in this case the button will be displayed on breakpoints starting from md You can use 'md-' to display the button for breakpoints until md.

Optional enableBackInFullscreen

enableBackInFullscreen: undefined | false | true

Enable back button in fullscreen mode (always displayed if activated)

Optional ottdcAgentConfig

ottdcAgentConfig: OTTDCAgentConfiguration

OTTDC agent (PRISME) configuration

type

the service type (LIVE or ONDEMAND). This will choose the appropriate toolbar of the player

Optional useStorageForCustomSubtitleStyle

useStorageForCustomSubtitleStyle: undefined | false | true

True if subtitles custom style has to be saved in local storage, false otherwise (default is true)

Optional useStorageForVolume

useStorageForVolume: undefined | false | true

True if volume has to be saved in local storage, false otherwise (default is true). If true, volume will be loaded from local storage and applied at init

Optional youboraConfig

youboraConfig: YouboraConfiguration

Youbora module configuration

Generated using TypeDoc