Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

HTML Audio/Video DOM startDate Property

❮ HTML Audio/Video DOM Reference

Example

Get the current timeline offset of the video:

var vid = document.getElementById("myVideo");
alert(vid.startDate);
Try it Yourself »

Definition and Usage

The startDate property returns a Date object representing the current timeline offset of the audio/video.

The startDate property is used to enable accurate synchronization of audio/video streamed live over the internet.


Browser Support

Property
startDate Not supported Not supported Not supported Not supported Not supported

Syntax

audio|video.startDate

Technical Details

Return Value: A Date Object, representing current timeline offset

❮ HTML Audio/Video DOM Reference