diff --git a/rowers/templates/embedded_video.html b/rowers/templates/embedded_video.html index bc5df91e..4bce15f5 100644 --- a/rowers/templates/embedded_video.html +++ b/rowers/templates/embedded_video.html @@ -237,6 +237,7 @@ function stopVideo() { player.pauseVideo(); playing = false; + dataplay.value = String.fromCharCode(9658); } // call this function when player state changes @@ -567,7 +568,7 @@ function clock() { // onderstaande alleen als lock.checked var dataplay = document.createElement("input"); dataplay.type = "button"; -dataplay.value = "Play"; +dataplay.value = String.fromCharCode(9658); document.getElementById("dataplay").appendChild(dataplay); // var datastop = document.createElement("input"); @@ -580,24 +581,24 @@ dataplay.onclick = function() { dataplaying = false; if (playing == false) { player.playVideo(); - dataplay.value = "Pause"; + dataplay.value = String.fromCharCode(10074,10074); playing = true; } else { player.pauseVideo(); - dataplay.value = "Play"; + dataplay.value = String.fromCharCode(9658); playing = false; } } else { if (!dataplaying) { clock(); - dataplay.value = "Pause"; + dataplay.value = String.fromCharCode(10074,10074); dataplaying = true; if (lock.checked) { playing = true; } } else { clearInterval(timer); - dataplay.value = "Play"; + dataplay.value = String.fromCharCode(9658); dataplaying = false; } }