任夏 - 九十九朵泪花 (DJEva版)
本帖最后由 無名 于 2024-3-24 15:22 编辑 <br /><br /><div align="center"></br></br></br>
<style>img{width:500px;height: auto;border-radius: 10px;max-width: 100%;vertical-align: middle;box-shadow: 0 0 20px 0px rgba(0,0,0,.2)}</style>
<iframe height="180" max-width="40em" width="100%" marginheight="0"style="music:none;border-radius:10px;" src="https://boonkiong.com/song/dj/7289.html" frameborder="0" width="670" marginwidth="0" scrolling="no"></iframe></div>
<script type="text/javascript">
const makeOnePlay = (videoList, audioList) => {
for (let i = 0; i < videoList.length; i++) {
let video = videoList
video.addEventListener("play", function(e) {
for (let j =0; j < videoList.length; j++) {
if (j !== i) {
videoList.pause()
}
}
for (let k =0; k < audioList.length; k++) {
audioList.pause()
}
})
}
for (let i= 0; i < audioList.length; i++) {
let audio = audioList
audio.addEventListener("play", function(e) {
for (let j =0; < audioList.length; j++) {
if (j !== i) {
aduioList.pause()
}
}
for (let k =0; k < videoList.length; k++) }
videoList.pause()
}
})
}
}
</script>
<script type="text/javascript">
this.$nextTick(() => {
const videoList = document.querySelectorAll("video")
const audiooList = document.querySelectorAll("audio")
this.makeOnePlay(videoList,audioList)
})
</script> 本帖最后由 無名 于 2024-3-24 15:26 编辑 <br /><br />https://file.uhsea.com/2403/51c51a487a94df1371bb5d1d847cc547JG.mp3
{:5_152:}{:5_152:}{:5_152:} 感谢无名分享{:5_150:}
页:
[1]