Techdocs

AMP Web SDK

AMP player

akamai.amp.PlaybackMode

PlaybackMode

new PlaybackMode()

The playback mode

Members

AUTO

(static, readonly) :string

The default playback mode. Tells the player to automatically decide the playback mode based on the current environment.

Default Value:
  • auto

EXTERNAL

(static, readonly) :string

Forces browser based playback in a new window.

Default Value:
  • external

FLASH

(static, readonly) :string

Forces Flash playback.

Default Value:
  • flash

HTML

(static, readonly) :string

Forces HTML5 playback.

Default Value:
  • html

NONE

(static, readonly) :string

Forces the player to display Flash install menu.

Default Value:
  • none