The CmsManager is the entry point for resolving content data passed on play.

Given a cms config and content play data, this will attempt to resolve that into a normalized ContentEntryData that can be played.

If resolution can't be done, the task will kick out an error.

Methods

init (?providerMap:CmsProviderMap):ICmsManager

Initialize the cms manager, optionally with specific providers

Parameters:

providerMap
  • The providers to use for content play data resolution

Returns:

ICmsManager

load (data:ContentPlayData, config:PlayerConfigCmsData):Task

Resolve the content play data into it's playable form

Parameters:

data
  • The content play data to resolve
config
  • The cms config to use for resolution

Returns:

Task