Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

我的video的地址是动态获取的:

$('#playBtn').click(function(){
    $("video")[0].src = "******";
    $("video")[0].play();
})

第一次点击播放有点慢,第二次点击播放就十分慢了(两次获取同一个视频),要等很久。请问这个有什么办法


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
604 views
Welcome To Ask or Share your Answers For Others

1 Answer

没太明白你的问题,你确定不是其他的代码或者原因影响的?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...