Embed Audio Files to Wordpress with Dropbox

Modified on Sun, 19 Nov 2023 at 02:35 AM


You can create a share link (programmatically via the /shares endpoint or via the UI), which will give you a permanent publicly-visible link to a preview page for the file. To convert that link into one that points directly at the file content, refer to https://www.dropbox.com/help/201:


To bypass the preview page and allow your browser to directly render your files, use raw=1 as a query parameter 

in your URL. For example:

https://www.dropbox.com/s/qmocfrco2t0d28o/Fluffbeast.docx

Becomes:

https://www.dropbox.com/s/qmocfrco2t0d28o/Fluffbeast.docx?raw=1


Note that this URL will cause an HTTP redirect. If you're an app developer using such a URL in your own code, please make sure your app can follow redirects.


<audio src="https://dl-web.dropbox.com/get/therestofthelink" controls></audio> 

" controls>



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article