How to Put Music on a Blog
Hello Javatpoint friends, see you again on the same blog, on this occasion Mimin will share tips and tutorials How to Put Music on a Blog.
There are many ways to put music/songs on a blog, some have the songs uploaded yourself and there are also websites that provide a list of songs that are already available so we just install the code provided.
JavaTpoint himself actually doesn't recommend that you put music on your blog, of course for several reasons, one of which is that people have different tastes in songs, instead of wanting to make visitors comfortable, on the contrary it can make them less comfortable on our blog because of the song. the.
How to Put Music on a Blog
Generally, installing songs or music can make it difficult to load the blog, so choose a service that is not too burdensome. Saiful himself suggests uploading files on the Google site and the player used is Google Reader Player because both are products from Google which of course can be used with your Gmail account and this has proven to be a faster loading process.
Google Reader Player Code
To install songs on a blog, you need to use a player, because we will use Google Reader Player, the code used is as follows:
<embed type="application/x-shockwave-flash" flashvars="audioUrl=alamat_link_sumber_lagu" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="300" height="27" quality="best" wmode="transparent"></embed>
What you have to change is the song source_link_address code, that is the song source address. Where do we get the song source link address? We first upload the file to file hosting on the internet, this example will use the Google site, later after the music is uploaded, we will get the source address of the song.
Upload Files on Google Site
The first step you have to prepare is to upload the song file that will be installed on the Google Site, so prepare the song too. Here are the steps for uploading songs to the Google site:
- Please visit sites.google.com/?hl=id
- If you already have a Gmail account, log in using the form provided. However, if you don't have a Gmail account, first read the guide on how to create a Gmail account.
- Shift your attention to the left of the monitor, then click the Create button
- There are several forms that must be filled in.
- Name Your Site: give it whatever name you want, for example: my song
- Type the code shown: write the code that appears
- Continue by clicking the Create button.
- After the page is created, shift your attention to the top right of the monitor, then click the icon to create a New Page.
- Create a new page, fill in the required form.
- Name your page: fill it with anything. For example: a collection of songs
- Select template to use: first click the menu, after the options appear, select File Cabinet
- Continue by clicking the Create button
- Click the Add File button. Please select the song file you want to upload from your computer.
- After the file has been successfully uploaded, a link will appear that says download. Right click the link then select Copy Link Location (if you are using Firefox).
Paste it in notepad or whatever so that the file address can be used later. Example of file address (song source address):
https://sites.google.com/site/gallerylagu/kumpulan-lagu/02%20-%20Sherina%20-%20Jalan%20Cinta.mp3?attredirects=0&d=1
Delete the code behind it, namely ?attredirects=0&d=1 because this code doesn't need to be used. So, the song source code that we will use is:
https://sites.google.com/site/gallerylagu/kumpulan-lagu/02%20-%20Sherina%20-%20Jalan%20Cinta.mp3
The file upload step is complete
Because we have got the source address of the song, we can make the player code like this (this is just an example, of course the code actually matches the song you uploaded):
<embed type="application/x-shockwave-flash" flashvars="audioUrl=https://sites.google.com/site/gallerylagu/kumpulan-lagu/02%20-%20Sherina%20-%20Jalan%20Cinta.mp3" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="300" height="27" quality="best" wmode="transparent"></embed>
The following is an example of a player that will appear (click the play button to run):
The next step is to install the code on your blog, of course it can be in the sidebar or wherever you wish. However, as an example, we will install it in the sidebar of the blog.
- Please log in to blogger with your account.
- Click on your blog's name.
- Click the Layout menu
- Click Add Gadget
- Click on the HTML/Javascript widget
- Paste the music code as we prepared earlier
- Click the Save button
- Finished.
That's an example of how to upload a song by uploading it yourself. For songs that are already available without having to upload the song, you can use the following site:
https://www.singingbox.org/index2.php
In addition, this guide on How to Put Music on a Blog is only limited to putting songs on a blog, don't misuse it to share music files because that is illegal or violates applicable law. All acts of abuse are your own responsibility.
These are the tips and tutorials for How to Put Music on a Blog that we can convey, hopefully they are useful. If this information is useful, don't forget to share, friends, thank you