on first play, should the video go to full screen (note: full screen is not supported in iphone) @default: false
autoplay?
optionalautoplay: number | boolean
should the video start automatically or after pressing a button. NOTE: starting with autoplay might start the video muted according to browser's policy see: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
autoReplay?
optionalautoReplay: boolean
should video start automatically to replay once completed
avoidErrorTracking?
optionalavoidErrorTracking: boolean
bgColor?
optionalbgColor: string
branchingMocks?
optionalbranchingMocks: object
Developer/testing hooks for branching simulation (conditions and A/B).
abVariantByNodeId?
optionalabVariantByNodeId: Record<string, string>
Force a variant id per A/B node id.
now?
optionalnow: string | number | Date | () => number
Override the current date used for time predicates.
randomProvider()?
optionalrandomProvider: () => number
Custom random provider used for A/B weights (useful for deterministic tests).
Returns
number
cinematic?
optionalcinematic: boolean
set to true to change the webpage to black background with the movie centered
colors?
optionalcolors: object
colors for the player skin and background.
bg?
optionalbg: string
ctrlBtns?
optionalctrlBtns: string
loader?
optionalloader: string
progress?
optionalprogress: string
rail?
optionalrail: string
thumb?
optionalthumb: string
container
container: HTMLElement
which webpage element will contain the video
ctrlBtnsColor?
optionalctrlBtnsColor: string
debugLevel?
optionaldebugLevel: number
The level of debug messages to show in the console. None = 0, Error = 1, Warning = 2, Info = 3, Verbose = 4,