Techdocs

AMP Web SDK

AMP player

akamai.amp.CaptionScrollType

CaptionScrollType

new CaptionScrollType()

Members

PAINTON

(static, constant) :string

Caption painton scrolling. New caption cues are rendered on a per character/word basis.

Default Value:
  • painton

POPOUT

(static, constant) :string

Caption popout scrolling. Caption cues are rendered immediately, replacing previous cue.

Default Value:
  • popout

ROLLON

(static, constant) :string

Caption rollon scrolling. New caption cues are rendered below previous cues with the oldest lines scrolling out of view to the top.

Default Value:
  • rollon