You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

GrazianoD's avatar
GrazianoD
New member | Level 2
2 years ago

Direct access to an .mp3 with the use of a code.

Is it possible to get direct access to an .mp3 file so that it can be linked to my website and then "played" using a simple HTML code that creates an audio player and plays the file in question?
  • Здравко's avatar
    2 years ago

    Hi GrazianoD,

    Yes, it is possible despite of you cannot do that with the form of link you received initially (it directs to preview page). There are possible different form of shared links and all of them have one or more parameters. One of those params is 'dl' (initially this params carry value '0', i.e. it's 'dl=0'). To get direct/raw access to the file content you should replace the mentioned 'dl' param to 'raw' param with value '1', i.e. to 'raw=1'. Everything else must stays the same! Now, so formed link will lead to the file itself, not to preview page representing the file. 😉

    Hope this helps.

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!