Certain features of TOP can be toggled depending on when configuration is being done (see Config Levels for more on how to configure TOP).
Available types of configuration:
| Type | Description |
|---|---|
| Init | Only during player initialization |
| Config | During and after player initialization |
The createAndInitPlayer API accepts an init config object (can only be set on player initialization) which allows you to specify the following:
Other config options can be specified during player initialization and afterward (see adhoc and play).
Commonly used configuration categories:
| Category | Description |
|---|---|
| ads | Enable and configure ads |
| auth | Set authentication service type |
| cms | Set defaults for media.json and content.xml play back |
| features | Player feature configuration |
| media | General media play back behavior |
| player | Player-wide behavior, like autoPlay |
| plugins | Extras like analytics |
| ui | User interface |