madzadev / audio-player

🎵 Music player with custom controls, playlist, filters, and search.
https://audioplayer.madza.dev
344 stars 49 forks source link

Adding a dynamic download button #7

Closed PxlSyl closed 7 months ago

PxlSyl commented 2 years ago

Hello!

Great player, one of the best I found. But there's some issues with the npm package, the icons and Next.js, so I digged into your code and tutorial in order to adapt to my website. BTW, is there a way to add a download button for the current playing track?

Also, a great improvment would be a typescript version :)

mariosknl commented 1 year ago

Hi @PxlSyl is it possible please to share a bit of your code or at least give me some guidance on how you added the icons in your NextJS project? I've managed to overcome some of the issues I was facing but yet the icons are missing and also the audio files never start playing. Any idea why this is happening please?

Thank you in advance for your time and effort

PxlSyl commented 1 year ago

Hi, might be too late... I re-writed all Madza's code in typescript and didn't use the package finally.

madzadev commented 7 months ago

@PxlSyl @mariosknl Just deployed v2, it should now support the images on the latest NextJS version without extra configuration, Tested on NextJS 14.1.0.