Change "play" unicode to "play emoji"
All checks were successful
Publish to burnedkirby.com/subtitle / publish-site (push) Successful in 0s

This commit is contained in:
Stephen Seo 2024-07-08 18:17:20 +09:00
parent cd8009b1a2
commit 99172c7007

View file

@ -231,7 +231,7 @@
} }
requestAnimationFrame(on_animation_frame); requestAnimationFrame(on_animation_frame);
} else { } else {
document.getElementById("playpause_button").textContent = ""; document.getElementById("playpause_button").textContent = "";
is_playing = false; is_playing = false;
} }
} }
@ -302,7 +302,7 @@
} else { } else {
is_playing = false; is_playing = false;
let playpause_button = document.getElementById("playpause_button"); let playpause_button = document.getElementById("playpause_button");
playpause_button.textContent = ""; playpause_button.textContent = "";
playpause_button.style["transition"] = "all 0s linear"; playpause_button.style["transition"] = "all 0s linear";
playpause_button.style["background-position"] = "left"; playpause_button.style["background-position"] = "left";
} }
@ -329,7 +329,7 @@
</div> </div>
<button id="left_button" class="transport_button" type="button">⬅️</button> <button id="left_button" class="transport_button" type="button">⬅️</button>
<button id="right_button" class="transport_button" type="button">➡️</button> <button id="right_button" class="transport_button" type="button">➡️</button>
<button id="playpause_button" class="transport_button" type="button"></button> <button id="playpause_button" class="transport_button" type="button"></button>
</body> </body>
</html> </html>