MediaMetadata: chapterInfo property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("Media Session API")}}{{SeeCompatTable}}

The **chapterInfo** read-only property of the {{domxref("MediaMetadata")}} interface returns an array of chapter information metadata associated with playing media, represented by {{domxref("ChapterInformation")}} object instances.

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

Value

An array of {{domxref("ChapterInformation")}} object instances.

Examples

See the {{domxref("ChapterInformation")}} reference page for an example.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("ChapterInformation")}}