MDN self-hosted library · e01.org

MediaMetadata: chapterInfo property

Media Session API

no runnable cells web-api-instance-property upstream source

Media Session API

The chapterInfo read-only property of the MediaMetadata interface returns an array of chapter information metadata associated with playing media, represented by ChapterInformation object instances.

The chapterInfo for a given media resource is set when it is first created, via the chapterInfo property of the MediaMetadata() constructor's initialization object.

Value

An array of ChapterInformation object instances.

Examples

See the ChapterInformation reference page for an example.

Specifications

Browser compatibility

See also

  • ChapterInformation