jquery设置html5音量的方法
<pre>
setTimeout(function() {
alert(1);
$('#music1')[0].volume = 0;
setTimeout(function() {
alert(2);
$('#music1')[0].volume = 1;
}, 6000)
}, 3000)
</pre>
这个一般用于 暂停音乐 然后继续播放音乐

相关文章:

  • 2021-11-07
  • 2021-05-05
  • 2021-11-04
  • 2021-10-22
  • 2021-06-05
  • 2021-07-24
  • 2022-12-23
猜你喜欢
  • 2021-11-30
  • 2021-11-10
  • 2022-12-23
  • 2021-09-30
  • 2022-03-03
  • 2021-05-24
  • 2022-12-23
相关资源
相似解决方案