I try to implement a local audio file in a next.js project. Thats not so easy as i mentioned, neither in the next.js docs or via web search i can find a working solution.
I tried the "react-audio-player" and "use-audio", but in both situations i have issues with referencing the audio file in the IDE. A audio html element is in the dom, but it doesnt work.
Is this a problem with the file-loader / how next.js handle it?
Someone know literature about it where i could look at or can give me a working example?