Techdocs

AMP Web SDK

AMP player

Mode

Mode

new Mode()

Members

AUTO

(static) :string

Auto hide mode. The control bar will automatically hide when the mouse leaves the player. The duration of the delay can be passed in via the config's autohide property.

Default Value:
  • "auto"
See:

FIXED

(static) :string

Fixed mode. In this mode the control bar will not hide and will be locked to the bottom of the player area.

Default Value:
  • "fixed"

PERSISTENT

(static) :string

Persistent mode. In this mode the control bar will not hide and will be locked to the bottom of the player area.

Default Value:
  • "persistent"