HTML教程
HTML5教程
HTML参考手册

HTML 音频/视频 DOM startDate 属性

获得视频的当前时间线偏移:
myVid=document.getElementById("video1");
alert(myVid.startDate);

定义和用法

startDate 属性返回 Date 对象,表示音频/视频的当前时间线偏移。
startDate 属性用于获得经由因特网的精确的音频/视频流同步。

浏览器支持

Internet Explorer Firefox Opera Google Chrome Safari

语法

audio|video.startDate

技术细节

返回值: 一个 Date 对象,表示当前的时间线偏移。
昵称: 邮箱:
Copyright © 2022 立地货 All Rights Reserved.
备案号:京ICP备14037608号-4