當前位置:首頁
> html5audio多個音樂
html5audio多個音樂(html5如何控制多個音頻標簽)
第一種頁面代碼中的ltheadlthead之間加入ltbgsound src=quot音樂urlquot loop=quot1quot 這段代碼 loop指音樂循環(huán)的次數(shù),可設(shè)置為任意正整數(shù),若設(shè)為“1”的話,音樂將永遠循環(huán)第二種在網(wǎng)頁代碼中的ltstyleltstyle。 用JS 在他的onpla...