Audio
<center>
<h2>TAYONG DALAWA</h2>
<iframe
id="songPlayer"
width="0"
height="0"
src="https://www.youtube.com/embed/wTcCBre6o58?enablejsapi=1"
allow="autoplay">
</iframe>
<button onclick="toggleSong()" id="songButton">
SONG OFF
</button>
</center>
<script>
var playing = false;
function toggleSong() {
var player = document.getElementById("songPlayer");
if (playing == false) {
player.src =
"https://www.youtube.com/embed/wTcCBre6o58?autoplay=1";
playing = true;
document.getElementById("songButton").innerHTML =
"SONG ON";
} else {
player.src = "";
playing = false;
document.getElementById("songButton").innerHTML =
"SONG OFF";
}
}
</script>
Featured
Advertisement
Category
Action