Techdocs

AMP Web SDK

AMP player

MRSS

MRSS

new MRSS(player, configopt, key)

Creates an instance of the React plugin.

Parameters
Name Type Attributes Description
player akamai.amp.Player

The player instance

config akamai.amp.mrss.MRSSConfig | Object <optional>

The configuration override object, or JSON string. Must adhear to the akamai.amp.mrss.MRSSConfig interface.

key string

The plugin identifier.

Members

data

:Object

The MRSS feed data as a json object. Can be used to load feed data from memory.

url

:string

The MRSS feed url. When set the player will load and parse the feed file.