Back

[Solved] Audio files in Storage

  • 0
  • Web
  • Storage
BloodThermic
20 Sep, 2023, 01:29

What is the best way to play audio files that have been put into bucket?

TL;DR
User is asking for help with playing audio files that have been put into a storage bucket using Appwrite. They are experiencing difficulties with the format and the media player, and the URL of the audio file is displaying as text. A possible solution is suggested by removing the "&mode=admin" from the URL. It is also recommended to grab the URL of the view file endpoint and put it into a media player for the best way to play audio files.
Drake
20 Sep, 2023, 01:31

I'd say grab the url of the view file endpoint and put that into your media player

BloodThermic
20 Sep, 2023, 02:26

When I try to get that url its just text when it runs

Drake
20 Sep, 2023, 03:18

Yup, remove the &mode=admin

BloodThermic
20 Sep, 2023, 03:53

What media player should I use as when I try this I get this error DOMException: The element has no supported sources.

Drake
20 Sep, 2023, 03:55

What's the mime/file type when you look at the file in Appwrite?

BloodThermic
20 Sep, 2023, 03:59

audio/x-wav

Drake
20 Sep, 2023, 04:06
BloodThermic
20 Sep, 2023, 04:08

Awesome thank you will just convert everything!

BloodThermic
20 Sep, 2023, 04:08

[Solved] Audio files in Storage

Drake
20 Sep, 2023, 04:13

You could also create a feature request

Audio/wav makes sense to add. I'm not sure what x-wav is

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more