Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
GrazianoD
3 years agoNew member | Level 2
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?
- 3 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.
Здравко
3 years agoLegendary | Level 20
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.
Mark
Super User II
3 years agoJust 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.
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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!