Gets the duration, in seconds, of the current media resource, a
NaN value if duration is not available, or
Infinity if the media resource is streaming.
The duration of the current media resource, in seconds.
time in seconds
The duration of the current media, in seconds.
NaN (Not a Number)
The duration is not available.
The media is streaming.
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 126.96.36.199
- video element
- video object
- How to use HTML5 to play video files on your webpage
- How to use HTML5 to Add an Audio Player to your Webpage
Build date: 11/27/2012