Saturday, November 15, 2008

Eczema Treatment More Condition_symptoms

Using a mp3 player in blog (3)

Method 2, Part 2
(simple but less but recommended)
(see method is located 2, Part 1
)
This time we will use SkyDrive
to host the files. SkyDrive is designed to host files so it is more convenient to use than Google Sites. All we need is the data (username and password) that we use to access Hotmail and if you do not have a Hotmail account we can create one.
SkyDrive Once inside we see the following:



Where we host the files (we have 25 gigs at our disposal) is in the folder Public (imagine that what we want we can upload to any other but may be protected to not play the song on the blog, do not know, is just an idea, the ideal would be to try), so you click on it.


Once inside she can Add files directly or
Create a folder. I recommend creating a folder and have the players or the music in one and another, or for the blogs if you have more than one, and so on. Well, they are suggestions, nothing more. What matters is the option Add Files :

Once we have added the files have something like this:



thing to do is click once on the file of interest to us know the url to take the following view:


Once here we can click on the icon just above Add a description to the right mouse button and choose Copy
link location. This will be something like: http://corw7a.bay.livefilestore.com/y1pZXaPhfJYi6rXdRwohtV5nBK1mej-d7xH1NClwsWAJ62Ic_UkvdnAQ9hHlahEfPqrSo3OL29cbD0/dewplayer-mini.swf
? Download
In this route, we are only interested in the bold and, therefore, the rest (? Download
) will remove it.
's it, we already have our player and our song hosted on SkyDrive and have a url for each file to use as we please.
Now let's see how to use the player
1pixelout
:
The first thing to do is download it on
ZIP file and unzip it. Inside the folder will be another folder called audio-player
and within that several files:

We are interested in only those that are framed in red. The climb (to SkyDrive and Google Sites), we do with your url (one will have. Swf and another. Js) and reserve. Now we go to our blog, Design

tab> Edit Html
and copy, just before \u0026lt;/ head> , the following line: \u0026lt;script language = "JavaScript" src = "
URLaudio-player"> \u0026lt;/ script>
and replace the bold line in the url of the file called audio-player

.
This will be done only once. Save and now we can go to the entry you want to appear on the player. We must use this code: \u0026lt;object type="application/x-shockwave-flash"
data="
URLplayer
"id="audioplayer1"
height="24" width="290"> \u0026lt;param name = "movie" value = " URLplayer ">
\u0026lt;param name="FlashVars" value="playerID=1&soundFile= URLcancion ">
\u0026lt;param name = "quality" value = "high" > \u0026lt;param name="menu" value="false"> \u0026lt;param name="wmode" value="transparent">
\u0026lt;/ Object>

Where we have to replace the url in bold (2 times and 1 time player of the song) and the url of the player (called
player) of the song (IMPORTANT: you must delete
? dowload the url). This is the result:









The player can be customized using the following parameters:


bg = 0x000000
color for the background color
leftbg = 0x000000
background color for the left
rightbg = 0x000000 for the right background color = 0x000000
lefticon and
righticon = 0x000000 for left and right icons rightbghover = 0x000000 for the right background color when the mouse passes over
righticonhover = 0x000000 icon for the right color when you hover the mouse over text = 0x000000
for color text = 0x000000
slider for the color of the scrollbar track = 0x000000
for color of the tracks border = 0x000000
for the border color
loader = 0x000000 for the color of the loading bar
loop = yes here and here
.

0 comments:

Post a Comment