akamai.amp.PlayerConfig

Player configuration interface.

Example

var config = {
   resources: [
    {type: "text/css", src: "amp.css"}
  ],
   autoplay: true
};

Extends

Members

autoplay

:boolean

debug

:boolean

The debug flag.

Inherited From:

domain

:string

fullscreen

:akamai.amp.player.FullscreenConfig

locales

:Object

Localized strings object. Top level properties are organized by language string.

Example
var config = {
  locales: {
    en: {
      MSG_HELLO: "hello"
    },
    es: {
      MSG_HELLO: "hola"
    }
  }
};

loop

:boolean

plugins

:Object

The plugin map.

resources

:Array.<akamai.amp.PlayerResource>

List of resources to be loaded upon instantiation of the player.

Inherited From:

rules

:Object

target

:string