Commit 2094a205 authored by liujiangnan's avatar liujiangnan

debug

parent 9824a8ba
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<div class="video-cover"> <div class="video-cover">
<img src="../lib/images/video-cover.png" class="video-cover__image"> <img src="../lib/images/video-cover.png" class="video-cover__image">
</div> </div>
<video id="video" class="video" src="" muted preload="auto"></video> <video id="video" class="video" src="" muted></video>
</div> </div>
<div class="play-speed-content"> <div class="play-speed-content">
<p class="speed" style="font-size: 0.4rem; line-height: 0.7rem;">倍数</p> <p class="speed" style="font-size: 0.4rem; line-height: 0.7rem;">倍数</p>
......
...@@ -246,10 +246,10 @@ class PlayView { ...@@ -246,10 +246,10 @@ class PlayView {
$(".video").attr("src", this.data.video); $(".video").attr("src", this.data.video);
const video = $("#video")[0]; const video = $("#video")[0];
// video.play(); video.play();
// setTimeout(() => { setTimeout(() => {
// video.pause(); video.pause();
// }, 10); }, 1);
let i = setInterval(() => { let i = setInterval(() => {
if (video.readyState > 0) { 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