add icon to play button
This commit is contained in:
parent
c8e23adc5d
commit
9a0be19d8e
|
@ -128,7 +128,7 @@ layout: default
|
||||||
loadUrl("{{ relBase }}{{ page.next.url }}"); return false;
|
loadUrl("{{ relBase }}{{ page.next.url }}"); return false;
|
||||||
});
|
});
|
||||||
mu.onplaying = function () {
|
mu.onplaying = function () {
|
||||||
pauseButton.innerHTML = "Pause";
|
pauseButton.innerHTML = "⏯️ Pause";
|
||||||
fixedplayer.classList.remove("hideplayer");
|
fixedplayer.classList.remove("hideplayer");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ layout: default
|
||||||
});
|
});
|
||||||
mu.addEventListener('pause', function () {
|
mu.addEventListener('pause', function () {
|
||||||
spincover.classList.add("paused");
|
spincover.classList.add("paused");
|
||||||
pauseButton.innerHTML = "Resume";
|
pauseButton.innerHTML = "⏯️ Resume";
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
Loading…
Reference in a new issue