NoteOriginal post
Web Developer
I am a flutter app, when the user uploads an aac audio file, it gets stored in the bucket
The MIME type is audio/x-hx-aac-adts
When i try to open that link in the browser it starts downloading the file
If i upload an mp3 file it works fine and i can listen to it on the browser but aac files no
Another problem is that even those mp3 files, when i try to play them in the app, i cant access their duration for some reason
Summary
- Flutter app developer facing issues opening aac files in the browser, they get downloaded instead of playing
- MIME type of aac files is audio/x-hx-aac-adts
- Able to open and listen to mp3 files in the browser without issues
- Also experiencing trouble accessing the duration of mp3 files in the app
Solution: Ensure proper MIME type configuration for aac files to allow direct browser playback. For accessing durations of mp3 files in the app, check the code handling audio file properties.