Skip to main content

CustomConfig

customConfig is an object that contains all the player-specific configuration options for the SX PlayerSDK.

For easier generation of the CustomConfig object, please use our ConfigGenerator tool available on our website.

customConfig consists of the following objects:

const customConfig = { 
appearance,
overlays,
tracks,
branding,
showCta,
allowedDomainURL,
playbackRates,
onSubmitPass,
time,
callbackevents,
thumbnail,
resumePlayback,
fluid,
fill,
responsive,
aspectRatio
}