Why you should never put all your files on a single Web Host
Why you should never put all your files on a single Web Host
So I turned on one of my online servers, Dropbox to be able to store my files and manage the QUOTA that I had to exceed otherwise it would have cost me $ 30 to increase my space.
Here's how I proceed:
1) First, I put my music on Dropbox
2) I share the link of my music, Yes because on Dropbox you can share links of your files to send them to other people, but only the people who have the link can see your content
3) Secondly in my music sharing site in the attribute:
<audio controls = "controls" preload = "none">
Your browser does not support the <code> audio </ code> element.
<source src = "filenamefile.sonExtension" type = "audio / mp3">
</ Audio>
Instead of putting the music directly into the French version, I have it down on the server Dropbox and then I appealed to it in <source src = "lenomdufichier.sonExtension" type = "audio / mp3">
a) This image shows how I used to call music on the server
b) This new image shows how I'm using music located on the Dropbox server
What to remember is when I put the file on Dropbox and I did share it give me a URL but if you want to use this URL on another website for example to appeal to the latter in src = "" you have to add:
dl.dropboxusercontent.com
Example this is my mp3 file that I used on my sewer:
ate.mp3
After putting it on Dropbox, they gave me a link like this:
https://www.dropbox.com/s/m12nqaqkecnixln/YAMIdent_webres_clean.mov?dl=0
I just replace the: www.dropbox.com by
: dl.dropboxusercontent.com
And here is the trick is to play, you just have to pass your URL in the attribute src = ""
You like? do not hesitate to comment if some things escape you.
Follow me on youtube:


Commentaires
Enregistrer un commentaire