- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML 5 Video Buffering a certain portion of a longer video
Use the TimeRanges object in HTML to set a series of non-overlapping ranges of time. You can also set the start and stop time.
The following are the properties −
- length − Length of time ranges.
- start(index) − start time, in seconds
- end(index) − end time, in seconds
Here is the code snippet showing buffering −
// displays 12 myAudio.buffered.start(1); // displays 20 myAudio.buffered.end(1);
- Related Articles
- HTML 5 video or audio playlist
- HTML DOM Video Object
- How to embed a video using HTML code?
- HTML DOM Video autoplay Property
- HTML DOM Video buffered Property
- HTML DOM Video canPlayType( ) Method
- HTML DOM Video controls Property
- HTML DOM Video currentSrc Property
- HTML DOM Video currentTime Property
- HTML DOM Video defaultMuted Property
- HTML DOM Video defaultPlaybackRate Property
- HTML DOM Video duration Property
- HTML DOM Video ended Property
- HTML DOM Video height Property
- HTML DOM Video load( ) Method

Advertisements