寻道时间在 10 秒位置,但不会自动开始播放。
为什么?我该如何解决?
我现在的代码是这样的
<script type="text/javascript">
document.getElementById("video").addEventListener("loadedmetadata", function() {
this.currentTime = 10;
this.autoplay = true;
}, false);
</script>