GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for ChapterInformation.

Developer library 6

Media Session API

operty. For example, to set the current state of the media session to `playing`: ```js navigator.mediaSession.playbackState = "playing"; ``` ## Interfaces - ChapterInformation - : Represents the metadata for an individual chapter of a media resource (i.e., a video or audio file). - MediaMetadata - : Allows a web page to provide rich media metadata for display in a platform UI. - MediaSession - : Allows a web

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/Media_Session_API

ChapterInformation

Media Session API The **`ChapterInformation`** interface of the represents the metadata for an individual chapter of a media resource (i.e., a video or audio file). The chapter information for a given media resource is set when it is first created, via the `chapterInfo` property of the MediaMetadata() constructor's initialization object. The property takes an array of `ChapterInformation` objects as its value. Yo

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/ChapterInformation

ChapterInformation: startTime property

Media Session API The **`startTime`** read-only property of the ChapterInformation interface returns a number representing the start time of the chapter in seconds. ## Value A number. ## Examples See the main ChapterInformation page for an example. ## Specifications ## Browser compatibility ## See also - ChapterInformation

ChapterInformation: title property

Media Session API The **`title`** read-only property of the ChapterInformation interface returns a string representing the title of the chapter. ## Value A string. ## Examples See the main ChapterInformation page for an example. ## Specifications ## Browser compatibility ## See also - ChapterInformation

ChapterInformation: artwork property

Media Session API The **`artwork`** read-only property of the ChapterInformation interface returns an Array of objects representing images associated with the chapter. ## Value An Array of objects. Each object contains the following properties: - `src` - : A string representing the URL from which the user agent fetches the image's data. - `sizes` - : A string representing one or more sizes for the resource. I

MediaMetadata

sociated with playing media. - MediaMetadata.chapterInfo - : Returns an array of chapter information metadata associated with playing media, represented by ChapterInformation object instances. - MediaMetadata.title - : Returns or sets the title of the media to be played. ## Examples The following example checks for browser compatibility and sets the current metadata for the media session. ```js if ("mediaSes

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/MediaMetadata

JSON results · Services directory