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.
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?
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.
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.
Just to add although it is possible remember that Dropbox isn't a hosting tool and have previously updated the links which have caused older ones to stop working and there are bandwidth limits on files in Dropbox.
- - - -
Did this post help you? If so please mark it for some Kudos below.
Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.
Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible!
Thanks for the valuable information, I managed to get the audio file to work. I had deleted the part that goes from the name of the .mp3 file to code raw=1 and this was not so good...
Hi there!
If you need more help you can view your support options (expected response time for a 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!