Compare commits

..

No commits in common. "05051f04d8bc9efeb9be1be6db5da1e6b52c692e" and "dbe93cb6e56089a692dc06899981e535c2a2ef08" have entirely different histories.

4 changed files with 5 additions and 15 deletions

12
.gitignore vendored
View File

@ -1,11 +1 @@
# Ignore everthing
*
# Only include project files
!/installation/*
!/installation/
!/audioPlayer.js
!/index.html
!/musicList.js
!/README.md
!/styles.css
*/

View File

@ -52,7 +52,7 @@ function audioPlayer()
aCoverArt.src = musicList[idx][4]
if (doplay === true)
{
aPlay.play()
aPlay.play();
}
}
@ -60,12 +60,12 @@ function audioPlayer()
const el = appendMusicList(aList, value[1], value[3])
el.addEventListener("click", () => {
// el.preventDefault();
changeSong(index)
changeSong(index);
});
})
aPlay.addEventListener("ended", function(){
changeSong(currentSong + 1)
changeSong(currentSong + 1);
})
changeSong(0, false);
}

View File

@ -5,6 +5,6 @@
<title>Music Player</title>
<link rel="stylesheet" href="styles.css">
</head>
<iframe scrolling="no" src=example.tld width=100% height=307px frameborder="no">
<iframe scrolling="no" src=music.example.tld width=100% height=307px frameborder="no">
</iframe>
</html>