MediaMetadata: chapterInfo property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Specification
Media Session
# dom-mediametadata-chapterinfo

Browser compatibility

BCD tables only load in the browser

See also