如果在重新加载前10个网站后再取消静音,我怎样才能将网站中的所有音频声音静音?
<audio id="musWrited" autoplay>
<source src="sound/soundl.mp3" type="audio/mp3" />
//
</audio>
jQuery有选项吗?
答案 0 :(得分:1)
类似的东西:
in html:
(?:([^: ]+):)? // don't capture the colon, capture the part before the colon
([^ ]+ [^ ]+) // capture the two groups that may or may not be preceded by the colon
(?: |$) // end at either a space or the end of the line/string
然后在js:
<audio muted ....></audio>