Page 1 of 1

Where should i place mp3 files

Posted: Wed Mar 28, 2018 1:02 pm
by LRAM
Hi

where is the place to put a MP3 if I want a code like this <source src="mp3/ukulele/2010/Frenchy_bebe_blues.mp3

I tried in bl-content/uploads
but it doesn't work

i don't want to write the whole path https://sucrepop.com/mp3/ukulele/2010/F ... _blues.mp3

The future website
https://sucrepop.com/Ukulele

thansk

Re: Where should i place mp3 files

Posted: Wed Mar 28, 2018 8:46 pm
by Edi
You can use the directory /bl-content/uploads.

If you use HTML code the relative path for the example will be:

Code: Select all

/bl-content/uploads/Frenchy_bebe_blues.mp3
If you use the audio tag you can use the following:

Code: Select all

<audio controls>
<source src="/bl-content/uploads/Frenchy_bebe_blues.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
It's the same as for videos discussed here:

viewtopic.php?f=14&t=1071

Re: Where should i place mp3 files

Posted: Fri Mar 30, 2018 12:21 pm
by LRAM
Thanks Edi for your prompt answer
it works at the root
I just need to add a / before my path

Re: Where should i place mp3 files

Posted: Fri Mar 30, 2018 2:45 pm
by Edi
What do you mean with "at the root"?

Re: Where should i place mp3 files

Posted: Thu Apr 05, 2018 8:01 am
by LRAM
where the index.php is

my repertorie mp3 is on the same level