-Ronald dale fuentebella
How to Add Background Music/Sounds to Your Blogger
How to add background music to your Blogger blog
I. The easiest method of adding background sound is to include a line like this in the template of your Blogger blog, just after the opening <body> tag:
<bgsound src="http://yoursite.com/yoursound.mp3" loop=infinite>
You just need to replace http://yoursite.com/yoursound.mp3 with the URL of your sound file (which means you have to upload it somewhere or use copyright-free music you find on the net).
Note: This method works perfectly well, but only in Internet Explorer. Furthermore, visitors to your site will not be able to switch the music off if it becomes distracting.
II. Therefore, you may prefer to use this second method instead, which is compatible with all browsers.
You just need to include the following code somewhere in your template (for instance, 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 and/or likes:
- autostart: set to "true" to make the music begin as soon as the page is loaded, or "false" to make sure the visitor has to press the play icon
- loop: set to "true" to have the music play over and over again, or "false" so that it plays only once.
- height: if you set this 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.
Don’t forget to save when you are done!
Using either method, you can link to .mp3, .mid or .wav sound files. However, you must be aware of copyright restrictions, and ensure you have the permission to use the music you want to use!
0 (mga) komento: