Closed ghost closed 2 years ago
What happens when you try to do it, and what do you expect/want to happen?
It just shows a play button, and plays nothing when I click on it (also shows no error in console). I have only tested this with .ogg files as this is what other people use on their capsules. I want to be able to play audio files stored on my server on my gemini capsule.
alright I'll look into it
Should be fixed now.
Issue is still occurring with audio files.
// Test
app.on('/music', (req: any, res: any) => {
res.file(`${__dirname}/static/audio/music.mp3`);
})
This issue occurs with both mp3 and ogg files which I did test. No errors were produced in terminal.
Did you update to the latest version of the library?
My bad. That was the issue.
👍
Tried using res.file for audio files, does not work. Could you possibly add support for this?