HTML 오디오/비디오 DOM startDate 속성

❮ HTML 오디오/비디오 DOM 참조

예시

비디오의 현재 타임라인 오프셋을 가져옵니다.

var vid = document.getElementById("myVideo");
alert(vid.startDate);

정의 및 사용

startDate 속성은 오디오/비디오의 현재 타임라인 오프셋을 나타내는 Date 객체를 반환합니다.

startDate 속성은 인터넷을 통해 라이브 스트리밍되는 오디오/비디오의 정확한 동기화를 활성화하는 데 사용됩니다.


브라우저 지원

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

통사론

audio|video.startDate

기술적 세부 사항

반환 값: 현재 타임라인 오프셋을 나타내는 날짜 개체

❮ HTML 오디오/비디오 DOM 참조