cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn more here.

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.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

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

GrazianoD
New member | Level 2
Go to solution

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?

1 Accepted Solution

Accepted Solutions

Здравко
Legendary | Level 20
Go to solution

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.

View solution in original post

3 Replies 3

Здравко
Legendary | Level 20
Go to solution

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
Go to solution

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. 


 


:penguin::penguin: - :penguin: - :penguin: - :penguin:


Heart Did this post help you? If so please mark it for some Kudos below. 


:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.


:arrows_counterclockwise: 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! 


 

GrazianoD
New member | Level 2
Go to solution

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...

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    GrazianoD New member | Level 2
  • User avatar
    Mark Super User II
  • User avatar
    Здравко Legendary | Level 20
What do Dropbox user levels mean?