Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. HTMLMediaElement
  4. buffered

HTMLMediaElement: buffered property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩.

Thebuffered read-only property ofHTMLMediaElement objects returns a new staticnormalizedTimeRanges object that represents the ranges of the media resource, if any, that the user agent has buffered at the moment thebuffered property is accessed.

Value

A new staticnormalized TimeRanges object that represents the ranges of the media resource, if any, that the user agent has buffered at the moment thebuffered property is accessed.

Examples

js
const obj = document.createElement("video");console.log(obj.buffered); // TimeRanges { length: 0 }

Specifications

Specification
HTML
# dom-media-buffered-dev
Media Source Extensions™
# htmlmediaelement-extensions-buffered

Browser compatibility

See also

  • HTMLMediaElement: Interface used to define theHTMLMediaElement.buffered property

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp