Techdocs

AMP Web SDK

AMP player

akamai.amp.Track

The resource object interface.

Extends

Members

default

(non-null) :boolean

The 'default' property of a given <track> HTML element.

kind

:string

This decides how the track is handled by the user agent. The kind is represented by a string. The possible strings are:

  • subtitles
  • captions
  • descriptions
  • chapters
  • metadata

label

(non-null) :string

Human-readable label for a given <track> HTML element.

src

:string

The URL to the resource.

Inherited From:

srclang

:string

This is a string (whether a BCP 47 language tag, ISO 639-1 or ISO 639-2) representing the language of the text track's cues.

type

:string

The MIME type of the resource.

Inherited From: