Commit 2094a205 authored by liujiangnan's avatar liujiangnan

debug

parent 9824a8ba
......@@ -71,7 +71,7 @@
<div class="video-cover">
<img src="../lib/images/video-cover.png" class="video-cover__image">
</div>
<video id="video" class="video" src="" muted preload="auto"></video>
<video id="video" class="video" src="" muted></video>
</div>
<div class="play-speed-content">
<p class="speed" style="font-size: 0.4rem; line-height: 0.7rem;">倍数</p>
......
......@@ -246,10 +246,10 @@ class PlayView {
$(".video").attr("src", this.data.video);
const video = $("#video")[0];
// video.play();
// setTimeout(() => {
// video.pause();
// }, 10);
video.play();
setTimeout(() => {
video.pause();
}, 1);
let i = setInterval(() => {
if (video.readyState > 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment