HTML DOM Video buffered Property
HTML DOM Video buffered Property
-- Learning not just technology, but dreams!
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
JavaScript Reference Manual
JavaScript Objects
- JavaScript Array Object
- JavaScript Boolean Object
- JavaScript Date Object
- JavaScript Math Object
- JavaScript Number Object
- JavaScript String Object
- JavaScript RegExp Object
- JavaScript Global Properties/Functions
- JavaScript Operators
- JavaScript Error
Browser Objects
DOM Objects
- HTML DOM Document Object
- HTML DOM Element Object
- HTML DOM Attribute Object
- HTML DOM Event Object
- HTML DOM Console Object
- CSSStyleDeclaration Object
- DOM HTMLCollection
HTML Objects
- <a>
- <area>
- <audio>
- <base>
- <blockquote>
- <body>
- <button>
- <canvas>
- <col>
- <colgroup>
- <datalist>
- <del>
- <details>
- <dialog>
- <embed>
- <fieldset>
- <form>
- <iframe>
- <frameset>
- <img>
- <ins>
- <input> - button
- <input> - checkbox
- <input> - color
- <input> - date
- <input> - datetime
- <input> - datetime-local
- <input> - email
- <input> - file
- <input> - hidden
- <input> - image
- <input> - month
- <input> - number
- <input> - range
- <input> - password
- <input> - radio
- <input> - reset
- <input> - search
- <input> - submit
- <input> - text
- <input> - time
- <input> - url
- <input> - week
- <keygen>
- <link>
- <label>
- <legend>
- <li>
- <map>
- <menu>
- <menuItem>
- <meta>
- <meter>
- <object>
- <ol>
- <optgroup>
- <option>
- <param>
- <progress>
- <q>
- <script>
- <select>
- <source>
- <style>
- <table>
- <td>
- <th>
- <tr>
- <textarea>
- <title>
- <time>
- <track>
- <video>
HTML DOM Video controller Property
Video buffered Property
Example
Get the first buffered range (part) of the video, in seconds:
var x = document.getElementById("myVideo");
document.getElementById("demo").innerHTML = "Start: " + x.buffered.start(0)
+ " End: " + x.buffered.end(0);
Definition and Usage
The buffered property returns a TimeRanges object.
The TimeRanges object represents the user's audio/video buffered ranges.
Buffered ranges refer to the time ranges of the buffered audio/video. If the user jumps around in the audio/video, you will get multiple buffered ranges.
Note: This property is read-only.
Browser Support
All major browsers support the buffered property.
Note: Internet Explorer 8 or earlier versions do not support this property.
Syntax
videoObject.buffered
Return Value
| Value | Description |
|---|---|
| TimeRanges Object | Represents the buffered parts of the audio/video. TimeRanges Object Properties: * length - Get the number of buffered ranges in the audio/video * start(index) - Get the start position of a buffered range * end(index) - Get the end position of a buffered range Note: The index of the first buffered range is 0. |
HTML DOM Video controller Property
ByteDance Coding Plan supports mainstream large models such as Doubao, GLM, DeepSeek, Kimi, MiniMax, officially supplied, stable and reliable.
iFlytek Star Coding Plan includes free model call quotas, DeepSeek, GLM, Kimi, MiniMax, one-stop experience and deployment platform. Configuration Guide Β₯3.9/month Subscribe Now
Click to Share Notes
- Insert Code
- Insert Image
- Insert Link
- Insert Quote
- Insert Table
- Insert HR
- Insert Unordered List
- Insert Ordered List
- Insert Task List
- Insert Heading
- Insert Paragraph
- Insert Code Block
- Insert Math Formula
- Insert Mermaid Diagram
- Insert Flowchart
- Insert Sequence Diagram
- Insert Class Diagram
- Insert State Diagram
- Insert Gantt Chart
- Insert Pie Chart
- Insert Bar Chart
- Insert Line Chart
- Insert Area Chart
- Insert Scatter Plot
- Insert Bubble Chart
- Insert Radar Chart
- Insert Treemap
- Insert Sunburst Chart
- Insert Sankey Diagram
- Insert Funnel Chart
- Insert Gauge Chart
- Insert Heatmap
- Insert Boxplot
- Insert Candlestick Chart
- Insert Tree Diagram
- Insert Network Diagram
- Insert Word Cloud
- Insert Calendar Chart
- Insert Map
- Insert 3D Chart
- Insert Animation
- Insert Video
- Insert Audio
- Insert File
- Insert Emoji
- Insert Special Character
- Insert Horizontal Rule
- Insert Page Break
- Insert Table of Contents
- Insert Footnote
- Insert Citation
- Insert Definition
- Insert Abbreviation
- Insert Keyboard Input
- Insert Sample Output
- Insert Variable
- Insert Code
- Insert Preformatted Text
- Insert Blockquote
- Insert Address
- Insert Details
- Insert Summary
- Insert Dialog
- Insert Figure
- Insert Figcaption
- Insert Mark
- Insert Time
- Insert Data
- Insert Output
- Insert Progress
- Insert Meter
- Insert Template
- Insert Slot
- Insert Shadow DOM
- Insert Custom Element
- Insert Web Component
- Insert Microdata
- Insert RDFa
- Insert WAI-ARIA
- Insert MathML
- Insert SVG
- Insert Canvas
- Insert WebGL
- Insert WebAssembly
- Insert Web Worker
- Insert Service Worker
- Insert Shared Worker
- Insert WebSocket
- Insert Server-Sent Events
- Insert Fetch API
- Insert XMLHttpRequest
- Insert IndexedDB
- Insert Web SQL
- Insert LocalStorage
- Insert SessionStorage
- Insert Cookies
- Insert Cache API
- Insert History API
- Insert Geolocation API
- Insert Notification API
- Insert Push API
- Insert Payment Request API
- Insert Web Animations API
- Insert Web Crypto API
- Insert Web Bluetooth API
- Insert Web USB API
- Insert Web Serial API
- Insert Web HID API
- Insert Web MIDI API
- Insert Web Speech API
- Insert WebVR API
- Insert WebXR API
- Insert Web Share API
- Insert Web Locks API
- Insert Web Background Sync API
- Insert Web Periodic Background Sync API
- Insert Web Badging API
- Insert Web Share Target API
- Insert Web Shortcuts API
- Insert Web App Manifest
- Insert Service Worker Registration
- Insert Cache Storage
- Insert IndexedDB
- Insert Web SQL
- Insert LocalStorage
- Insert SessionStorage
- Insert Cookies
- Insert Cache API
- Insert History API
- Insert Geolocation API
- Insert Notification API
- Insert Push API
- Insert Payment Request API
- Insert Web Animations API
- Insert Web Crypto API
- Insert Web Bluetooth API
- Insert Web USB API
- Insert Web Serial API
- Insert Web HID API
- Insert Web MIDI API
- Insert Web Speech API
- Insert WebVR API
- Insert WebXR API
- Insert Web Share API
- Insert Web Locks API
- Insert Web Background Sync API
- Insert Web Periodic Background Sync API
- Insert Web Badging API
- Insert Web Share Target API
- Insert Web Shortcuts API
- Insert Web App Manifest
- Insert Service Worker Registration
- Insert Cache Storage
YouTip