THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML Audio/Video DOM startDate Property

HTML audio Tag Reference 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 Tag Reference HTML Audio/Video DOM Reference