Page 1 of 1

Can we embed an mp3 audio from from dropbox?

PostPosted: Tue Mar 10, 2020 12:25 am
by isabel95
I've been paying Yahoo for storage for years and barely use any of it - just so I can embed sound files under some of my images.

I would like to be able to embed files from dropbox so I can get rid of the Yahoo fees.

Is that possible?

Re: Can we embed an mp3 audio from from dropbox?

PostPosted: Tue Mar 10, 2020 12:58 pm
by richo
isabel95 wrote:I've been paying Yahoo for storage for years and barely use any of it - just so I can embed sound files under some of my images.

I would like to be able to embed files from dropbox so I can get rid of the Yahoo fees.

Is that possible?

Have you tried? That's what I do...I just set up a test. I don't use dropbox but I would check to see if their public option would allow embedding or direct linking.

Re: Can we embed an mp3 audio from from dropbox?

PostPosted: Wed Mar 11, 2020 2:51 pm
by isabel95
I did respond but I don't see my answer posted so here goes again...

I Googled how to embed a dropbox shareable link and found I had to change dl=0 to raw=1 after the ? of the Dropbox shareable mp3 file link.

Here's the code I used.

<audio controls autoplay>
<source src="https://www.dropbox.com/s/0mvgjx1dbmxmj9l/vintage2.mp3?raw=1" type="audio/mpeg">
</audio>


Only problem is that even though autoplay is specified you have to click on the arrow of the player to get the sound to play.