The Cms resolver will recursively resolve content play data until it is transformed to a ContentEntryData.

Resolution is done via a map of passed providers. If a provider can't be found for the content play data format, an error will be thrown.

Each resolver is encapsulated to one content entry. That allows config values to be passed on a entry-by-entry basis.

Methods

init (providerMap:CmsProviderMap, config:PlayerConfigCmsData, data:ContentPlayData):ICmsEntryResolver

Initialize the cms entry resolver

Parameters:

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

Returns:

ICmsEntryResolver

load ():Task

Start resolution of the content play data

Returns a task that will complete when resolution does.

Returns:

Task