Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML Audio/Video DOM startDate Property

HTML Audio/Video DOM startDate Property

HTML audio/video Tag Reference HTML Audio/Video DOM Reference

Example

Get the current timeline offset of the video:

myVid=document.getElementById("video1");

alert(myVid.startDate);

Try it »


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 obtain precise audio/video stream synchronization over the Internet.


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

No major browser supports the startDate property.


Syntax

audio|video

.startDate

Technical Details

Return Value: A Date object representing the current timeline offset.

HTML audio/video Tag Reference HTML Audio/Video DOM Reference