How to access mp3 file on azure blob storage

Tejas Patil 25 Reputation points
2023-08-09T09:19:27.7233333+00:00

I have uploaded mp3 files on azure blob storage, which have
content-type : **audio/mpeg

CORS settings
1)**
Allowed Origins: *
Allowed Methods: GET
Allowed Headers: Origin, Content-Type
Exposed Headers: *
Max age: 0

2)
Allowed Origins: *
Allowed Methods: OPTIONS
Allowed Headers: Origin, Content-Type
Exposed Headers: *
Max age: 0

But my audio is not playing.
https://fuelcoachstorage.blob.core.windows.net/container/IdilingRecording20230809_093458.mp3

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,192 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hugo Barona 416 Reputation points MVP
    2023-08-09T11:10:21.9433333+00:00

    Hi Tejas,

    I tried to request the mp3 file on the browser, and using developer tools I can see that the content-type is different than the one you configured (audio/wav) instead of (audio/mpeg).

    Can you double check the content-type?

    User's image

    Thanks

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.