document.addEventListener("DOMContentLoaded", function() {
var players = [
"https://bandcamp.com/EmbeddedPlayer/track=2094802336/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/transparent=true/",
"https://bandcamp.com/EmbeddedPlayer/track=655469210/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/transparent=true/"
];
var currentPlayerIndex = 0;
var bandcampPlayer = document.getElementById("bandcampPlayer");
var nextBtn = document.getElementById("nextBtn");
var prevBtn = document.getElementById("prevBtn");
nextBtn.addEventListener("click", function() {
currentPlayerIndex = (currentPlayerIndex + 1) % players.length;
bandcampPlayer.src = players[currentPlayerIndex];
});
prevBtn.addEventListener("click", function() {
currentPlayerIndex = (currentPlayerIndex - 1 + players.length) % players.length;
bandcampPlayer.src = players[currentPlayerIndex];
});
});
error: Content is protected !!
Optimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.