Thursday, November 20, 2008

Jack The Homicidal Maniac

Using a mp3 player in blog (2)



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

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
.

Monday, November 10, 2008

Excessive Gas Causes More Condition_symptoms

Use a button Show / Hide on the blog (a spoiler, skip)

The reasons why we want or need to hide part of our entry are many and here I leave one of the simplest I've found out there.
first thing to do is go to
Design> Edit Html and paste
just before \u0026lt;/ head>
the following script: \u0026lt;script type="text/javascript">

showSpoiler function (obj) {var inner
= obj.parentNode.getElementsByTagName("div")[0];
    if (inner.style.display == "none")
        inner.style.display = "";     else
        inner.style.display = "none";     }
    </script>
Then, before saving, we add the following to the CSS, just before ]]>\u0026lt;/ b: skin>
:
. spoiler
{border: 1px solid # ddd;
padding: 3px;}

. spoiler.
inner {border: 1px solid # eee; padding: 3px; margin: 3px;}
Once done, save. From now on entries in which we want to include a button to show and hide a part of the post will include the following: \u0026lt;div
class="spoiler"> \u0026lt;input type = "button" onclick = "showSpoiler (this);" value = "Show / Hide" /> \u0026lt;div class = "inner" style = "display: none"> HERE TEXT TO HIDE \u0026lt; / div> \u0026lt;/ div> The result is this:

Here you go the answer to a question, solving a riddle, the proofreading staff a review opposition or whatever strikes your fancy.


Source: Digital Point