Add background music for Blog





 The easiest method of adding background sound is to include a line like this in your blog template, just after the opening <body> tag:
<bgsound src="http://yoursite.com/yoursound.mp3" loop=infinite>
where the URL is that of the background music you wish to use. This method works perfectly well, but visitors to your site will not be able to switch the music off if it becomes distracting.

So instead, you may prefer to use this method instead, which is compatible with all browsers (press the play icon to start music):This is achieved by including the following code somewhere in your template (eg: the sidebar):
<embed width="200" src="http://yoursite.com/yourmusic.mp3" autostart="false" loop="false" height="50"></embed>
You can change some of the variables to suit your needs:
autostart: set to "true" to make the music begin as soon as the page is loaded, or "false" to ensure the user has to press the play icon
loop: set to "true" to have the music play over and over, or "false" so that it plays only once.
height: if this is set to "40", only the play options will be visible. You can make this larger if you prefer, in which case blank space will be visible.
Using either method, you can link to .mp3, .mid or .wav music files. However, you must be aware of copyright restrictions, and ensure you have the appropriate permission for use for the music you decide to use!

Here are some sites I've used for copyright-free music you could use in your blog:
FreePlay Music
MonkeyFilter Wiki: contains links to many sites offering free music downloads.
FreeSound
Labels:
Script


8 Response to Add background music for Blog

  1. Anonymous says:

    Hi, Neat post. There's an issue together with your website in web explorer, could test this? IE still is the marketplace leader and a huge component of other folks will omit your excellent writing because of this problem.

    Here is my blog post: all about cats

  2. Anonymous says:

    Good day! This is my 1st comment here so I just wanted to give
    a quick shout out and tell you I genuinely enjoy reading through your articles.
    Can you suggest any other blogs/websites/forums that deal with the same subjects?
    Thank you so much!

    Here is my web blog :: recovery free software

  3. Anonymous says:

    Excellent pieces. Keep writing such kind of information on
    your blog. Im really impressed by it.
    Hi there, You've performed an incredible job. I'll definitely digg it and individually recommend to my friends.
    I'm sure they'll be benefited from this website.

    Stop by my web blog - tasty pecan pie

  4. Anonymous says:

    Hi! I've been following your website for a while now and finally got the courage to go ahead and give you a shout out from Houston Texas! Just wanted to tell you keep up the great work!

    my weblog :: Purebery Max

  5. Anonymous says:

    My brother suggested I might like this web site. He was
    entirely right. This post truly made my day.
    You cann't imagine simply how much time I had spent for this information! Thanks!

    Also visit my web page ... Buy viarex

  6. Anonymous says:

    Great delivery. Solid arguments. Keep up the good effort.

    Feel free to surf to my web page psn card

  7. Anonymous says:

    I was suggested this web site by my cousin. I'm not sure whether this post is written by him as no one else know such detailed about my trouble. You are incredible! Thanks!

    My website ... child care Fullerton []

  8. Anonymous says:

    When I originally left a comment I appear to have clicked on the -Notify me when new comments
    are added- checkbox and from now on whenever a comment is
    added I receive four emails with the exact same comment.
    Is there an easy method you can remove me from that service?

    Cheers!

    Check out my homepage :: live tv free

Post a Comment