Showing posts with label music. Show all posts
Showing posts with label music. Show all posts

Add music to your blog:Another easy way

Here is another easy way for you to add music to your blog. Go to eSnips. There you can upload your music file and other files like videos, photos and files. Here we will just be discussing music, but videos, etc., should be no different. The best way to go is to first sign up for an account first. Then you can have a folder for your files which you can refer to whenever you need to. If you have your own music file, first upload it. You still can have music if you don't have your own music file. All you have to do is to choose one which is available to the public in eSnip. If you don't have your own music file, or you want one that is available in eSnip, click on fresh from the "DJ Community" and click on a selection. Click "MP3 Widgets" and you will be presented with a page where you can copy the script to add to your blog (see screenshot ):


The default is to only play the music if a visitor click on the Play button. However, you can make the player play the music automatically the moment the page opens by choosing Yes in the Auto Play drop down menu at the bottom of the preview page (see bottom of the screenshot above). This setting (autoplay) is not favoured by many because of fear of unwanted interruption like when a person is surfing at night and there is a baby sleeping nearby. The person will have to quickly exit the site to stop the music playing. That is why the default is set to "no".


Listening to music online
Not satisfied with just putting music on your own site. Like to listen to music on other sites online?

Find places to Listen To Music Online for free. The internet has allowed sites to play Music 24/7. There are literally hundreds of Online Music sites
and even you can Stream Music on your own website.

Adding music to you blog

There are many ways to add music to your blog. The most common way is to embed it into your post, or in New Blogger (formerly Blogger beta), add it as a HTML/Javascript widget via the "Add a Page Element" in the Layout.

You will first have to find a music file that is already hosted on the web, or if you have your own music file stored in your computer, upload it into a file host and then get the URL of the file. If you don't have any music file saved in your computer to upload, you can find files already hosted at freemp3mail.com, select the artist, click "Free Download" and you will be taken to the file hosted on the web. You can copy the URL from the address bar of that page.
In the HTML/Javascript widget window or the post editor window, paste this code:

< embed src="URL of music file" width="150" height="40" autostart="false" loop="false">


You will have to substitute "URL of music file" with the actual URL of the music file in the script. In the script, there four attributes - width="X", height="Y", autostart="false/true" and loop="false/true". You will have to make sure that the value of width attribute X is consistent with the width of the container in which you intend to add the player into. For example, the width of the sidebar is 160 for this template, so I have to add a value less than 160 if I want to put it in the sidebar. For the autostart attribute, if you put it as true, the music will start automatically the moment your blog is loaded. Many have the opinion that this is a bad choice as the visitor may be visiting your site in the middle of the night when others are sleeping, and may be forced to quickly exit your page to stop the music. If you put the autostart attribute as false, the visitor will have to click the start button to start the music.

There are other ways of adding music to your blog. For example, you can use this site
Sonific to generate a script for putting into your post (the player will only appear in that post) or the Page Element (the player will then appear in all pages of your blog). You register for an account, verify your email address, sign in, select a songspot, and you will be taken to this page to fill in the field for the blog platform you are using and the URL of the blog you want to put the songspot in (see screenshot below, ):




As you can see from the screenshot, you have various option like orientating the player horizontally or vertically, select the size, whether to start the music automatically or manually, etc. You will also have to select your blog platform (which in our case will be Blogger) and type in the URL of the blog you intend to embed the player into. When you are finished the configuration, click "Activate" and the next page will display the script for you to paste into your post or the Layout. If you paste it into your post, when you try to publish it, you will get an error message "Your HTML cannot be accepted.......". Ignore it, tick "Stop showing errors for this post" and publish.