Skip to content

Document ManagedMediaSource, ManagedSourceBuffer, and BufferedChangeEvent APIs#43281

Merged
pepelsbey merged 10 commits intomdn:mainfrom
pepelsbey:managed-buffered-media-source
Mar 10, 2026
Merged

Document ManagedMediaSource, ManagedSourceBuffer, and BufferedChangeEvent APIs#43281
pepelsbey merged 10 commits intomdn:mainfrom
pepelsbey:managed-buffered-media-source

Conversation

@pepelsbey
Copy link
Member

@pepelsbey pepelsbey commented Feb 27, 2026

Description

New pages

  • BufferedChangeEvent
    • API/BufferedChangeEvent — The BufferedChangeEvent interface
    • API/BufferedChangeEvent/BufferedChangeEvent — The BufferedChangeEvent() constructor
    • API/BufferedChangeEvent/addedRanges — The addedRanges property
    • API/BufferedChangeEvent/removedRanges — The removedRanges property
  • ManagedMediaSource
    • API/ManagedMediaSource — The ManagedMediaSource interface
    • API/ManagedMediaSource/ManagedMediaSource — The ManagedMediaSource() constructor
    • API/ManagedMediaSource/streaming — The streaming property
    • API/ManagedMediaSource/startstreaming_event — The startstreaming event
    • API/ManagedMediaSource/endstreaming_event — The endstreaming event
  • ManagedSourceBuffer
    • API/ManagedSourceBuffer — The ManagedSourceBuffer interface
    • API/ManagedSourceBuffer/bufferedchange_event — The bufferedchange event

Updated pages

  • API/Media_Source_Extensions_API — Added new interfaces to the list

Motivation

Document new features available since Safari 17.

Additional details

@pepelsbey pepelsbey requested a review from a team as a code owner February 27, 2026 14:21
@pepelsbey pepelsbey requested review from chrisdavidmills and removed request for a team February 27, 2026 14:21
@github-actions github-actions bot added the Content:WebAPI Web API docs label Feb 27, 2026
@github-actions github-actions bot added the size/l [PR only] 501-1000 LoC changed label Feb 27, 2026
Copy link
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, @pepelsbey. A bunch of comments for you to look at, but nothing major.

@pepelsbey
Copy link
Member Author

pepelsbey commented Mar 9, 2026

@chrisdavidmills I applied some changes and moved the demo to dom-examples. Please let me know if it got better! BTW, you were right: optional seems not optional in Safari, unlike what the spec says. Added a note.

Copy link
Contributor

@chrisdavidmills chrisdavidmills left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, nice work @pepelsbey! Just a couple more small comments.

}
```

{{EmbedGHLiveSample("dom-examples/media-source-extensions/managed-media-source/", '100%', 420)}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Before you merge this, make sure the iframe is tall enough to render the demo nicely, ideally without a vertical scrollbar.

pepelsbey and others added 2 commits March 9, 2026 20:54
Co-authored-by: Chris Mills <chrisdavidmills@gmail.com>
@pepelsbey pepelsbey merged commit 4be29f6 into mdn:main Mar 10, 2026
7 checks passed
@pepelsbey pepelsbey deleted the managed-buffered-media-source branch March 10, 2026 10:38
@pepelsbey
Copy link
Member Author

Thank you for the review ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/l [PR only] 501-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants