implemented audio fix for neocities
This commit is contained in:
parent
e14118f864
commit
8d1e1de894
5 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,4 @@
|
|||
import { audioPath } from './path.js'
|
||||
let pipe = document.getElementById("meow");
|
||||
let preload = new Image();
|
||||
preload.src = "/assets/img/button/braixdragon-cat2.gif";
|
||||
|
@ -9,7 +10,7 @@ function func() {
|
|||
}
|
||||
|
||||
let audio = document.createElement("audio");
|
||||
audio.src = "/assets/audio/anvil_land_low.ogg";
|
||||
audio.src = `${audioPath}anvil_land_low.ogg`;
|
||||
pipe.appendChild(audio);
|
||||
|
||||
pipe.addEventListener(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue