var music = document.getElementById('video');
var state = 0;
document.addEventListener('touchstart', function(){
if(state==0){
music.play();
state=1;
}
}, false);
document.addEventListener("redy-box", function () {
music.play();
}, false);
music.onended = function () {
music.load();
music.play();
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)