mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
major changes:
- resize images to 150x150 - convert them to webp - use $set to update database - remove comments in py code - a whole lot more
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const playAudio = (path) => {
|
||||
const audio = new Audio("http://127.0.0.1:8901" + path);
|
||||
|
||||
audio.addEventListener("canplaythrough", () => {
|
||||
audio.play();
|
||||
});
|
||||
};
|
||||
|
||||
export { playAudio };
|
||||
Reference in New Issue
Block a user