Method 2, Part 1 (simple but less but recommended)
(see Method 1 )
Ingredients:
A player
A website where you host the player
A song
A website where you host the Song
A code inserted in the blog
The beauty of this method is that it allows some security to preserve your files when both the file that corresponds to the song as the file that corresponds to the player. Bad joke and known: as Jack said, and go to parties.
need a player. There are several but I'll just talk here of two: Dewplayer and 1pixelout .
Dewplayer:
To use the player Dewplayer need to paste the following code to add wherever you want it to appear:
\u0026lt;object type = "application / x-shockwave-flash" data = " URLreproductor ? mp3 = URLcancion "width =" 200 "height =" 20 ">
\u0026lt;param name="movie" value=" URLreproductor ?mp3= URLcancion />
\u0026lt;/ object>
I have marked in bold the part of the code that need to be modified to tell the blog, say, where the player has to read and where the song:
and URLreproductor URLcancion
To give you an url to the player and another to the song we need to have the player and the song on your computer and upload to any web host allowing files. mp3 (the song). swf (the player). These websites can be either Google Sites (if you have and want to use your Gmail account) or SkyDrive (if you have and want to use your Hotmail account.) We
with Google Sites. Google Sites lets you create a website where we can host files, which is what interests us. We created the site:
and where it says Attachments
we give
Select
and up the files you want to use. Once uploaded we need to know what your URL. To do so, Firefox, press the right button on the link and choose Copy Link Location. The route will look like this:
http://sites.google.com/site/elgolembeppo/Home/dewplayer-mini.swf ? Attredirects = 0
http://sites.google.com/site / elgolembeppo/Home/radioheadallineed.mp3 ? attredirects = 0
to us We want only the part that is bold so the rest must be eliminated. And what's in bold is the url that we paste in the code above so that we have left something like this:
\u0026lt;object type = "application / x-shockwave-flash" data = " http://sites.google .com / site / elgolembeppo / Home / dewplayer-mini.swf mp3 = http://sites.google.com/site/elgolembeppo/Home/radioheadallineed.mp3 "width =" 200 "height =" 20 " >
\u0026lt;param name = "movie" value = " http://sites.google.com/site/elgolembeppo/Home/dewplayer-mini.swf mp3 = http://sites.google.com / site/elgolembeppo/Home/radioheadallineed.mp3 "/>
\u0026lt;/ object>
But of course, to do all this before on your computer need to have the necessary ingredients. The song will surely and so I just have to upload it (hey, it is recommended that the name File not have spaces or accents, and that the extension is. mp3). But what about the player? Let it.
Three Dewplayer player models, classical, and multi mini. Here's an example each of them: Classic
Mini
Multi
can download the player that you like from here: Classic
: dewplayer.swf
Mini : dewplayer-mini.swf
Multi : dewplayer-multi.swf
Multi Player lets you create a playlist with more than one mp3 file. All you have to do is paste the url of songs separated by the pipe character
These players can be modified slightly.
the song to run directly into the blog is to add what is in bold (though it is an option I do not recommend and is not well seen on the network):
... swf mp3 = URLarchivo & autoplay = 1
To repeat the track:
... swf mp3 = URLarchivo & autoreplay = 1
To change the background color:
... swf mp3 = URLarchivo & bgcolor = 000000
To change the default volume: swf ....
mp3 = URLarchivo & volume = 0 first thing to do is download the player that we like, then host it on some server, along with the song, and get the url of both files, and finally paste the code to add
where we want to display the player replacing url conveniently player and song. Obviously we can create a template with this code and the only thing we should do several times to amend the url of the song, which greatly reduces employment, while both the player and the url of the song appears twice in code.
If you want to know other players (such as the elegant 1pixelout) and discover how to use another site other than Google Sites, such as SkyDrive, check out this other input
.
Source: Vagabundia
Once we have added the files have something like this: