Erste version
This commit is contained in:
commit
6e7fb8c499
5 changed files with 222 additions and 0 deletions
6
static/script.js
Executable file
6
static/script.js
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
const audios = document.querySelectorAll("audio")
|
||||
|
||||
for (const [index,audio] of audios.entries()){
|
||||
audio.addEventListener("ended", (event) => { audios[index + 1].play()})
|
||||
}
|
||||
console.log(audios)
|
||||
Loading…
Add table
Add a link
Reference in a new issue