Techdocs

AMP Web SDK

AMP player

akamai.amp.PlayState

PlayState

new PlayState()

The play state

Members

ENDED

(static, readonly) :string

Constant representing the ended play state

Default Value:
  • ended

ERROR

(static, readonly) :string

Constant representing the error play state

Default Value:
  • error

LOADING

(static, readonly) :string

Constant representing the loading play state

Default Value:
  • loading

PAUSED

(static, readonly) :string

Constant representing the paused play state

Default Value:
  • paused

PLAYING

(static, readonly) :string

Constant representing the playing play state

Default Value:
  • playing

READY

(static, readonly) :string

Constant representing the ready play state

Default Value:
  • ready