first commit

This commit is contained in:
2025-08-12 01:56:31 +08:00
parent fdbbda958c
commit 1ff4d3dce2
101 changed files with 14179 additions and 0 deletions

12
assets/js/audio.js Executable file
View File

@@ -0,0 +1,12 @@
function playSound(audioId) {
// First, stop and reset any currently playing audio
const allAudios = document.querySelectorAll('audio');
allAudios.forEach(audio => {
audio.pause();
audio.currentTime = 0;
});
// Play the requested audio
var audio = document.getElementById(audioId);
audio.play();
}