Question:

Adding background music on my blog, on blogger.com?

by  |  earlier

0 LIKES UnLike

Hi I'm having troubles doing this, where in the html layout am I supposed to but this?

" <embed width="200" src="http://www..mp3" autostart="true" loop="false" height="50"></embed> "

every time i try , nothing happens

Also, I am using filefactory.com to host my mp3 file, will that work?

thanks a lot ; ]

 Tags:

   Report

2 ANSWERS


  1. try an object tag

    &lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;FlowPlayer.swf&quot;

        width=&quot;320&quot; height=&quot;263&quot; id=&quot;FlowPlayer&quot;&gt;

      &lt;param name=&quot;allowScriptAccess&quot; value=&quot;sameDomain&quot;/&gt;

      &lt;param name=&quot;movie&quot; value=&quot;FlowPlayer.swf&quot;/&gt;

      &lt;param name=&quot;quality&quot; value=&quot;high&quot;/&gt;

      &lt;param name=&quot;scale&quot; value=&quot;noScale&quot;/&gt;

      &lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;/&gt;

      &lt;param name=&quot;flashvars&quot;

        value=&quot;videoFile=mymovie.flv&quot;/&gt;

    &lt;/object&gt;


  2. Try the following:

    &lt;embed src=&quot;http://www..mp3&quot; autostart=true loop=false height=50 width=200&gt;&lt;/embed&gt;

    Currently, you&#039;ve got it so that a little bar will show up which let&#039;s the user control the music (where it is in the song, volume, ect.). If you want this, then you should place that code where you would like it to show up in relation to other stuff on your blog.

    If you&#039;d like to not have a bar show up, here is the code:

    &lt;embed src=&quot;http://www..mp3&quot; autostart=true loop=false height=50 width=200 hidden=true&gt;&lt;/embed&gt;

    Filefactory.com should work, you can test this by typing the url of the mp3 into your url bar.

    If Filefactory doesn&#039;t work, try Fileden.com. 1gig for free. Good deal.

    Also, another thing:

    The embed tag is no longer valid html. To make this valid html, you would want to use the object tag. Here is your original code with it:

    &lt;object type=&quot;audio/mpeg&quot; data=&quot;http://www..mp3&quot;&gt; &lt;param name=&quot;autostart&quot; value=&quot;true&quot; /&gt; &lt;param name=&quot;loop&quot; value=&quot;false&quot; /&gt; &lt;param name=&quot;width&quot; value=&quot;200&quot; /&gt; &lt;param name=&quot;height&quot; value=&quot;50&quot; /&gt;&lt;/object&gt;

    If you&#039;d like to add the hidden tag just insert the following before &lt;/object&gt;:

    &lt;param name=&quot;hidden&quot; value=&quot;true&quot; /&gt;

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.