Hello guys :) Thanks for visiting my blog. So , do you want to put autoplay music to your blog?
Ok, I'll show you how to do it.
Firstly, you must get your embed music.
If you want to put your music from
YOUTUBE to your blog, you must get the embed code for the music.
I'll show you how to get embed code from
YOUTUBE.
1. Go to the video(contained the music) in youtube.
2. Click on 'Share' below the video.
3.Then, click 'Embed'
4.Now, copy the embed code.
This is an example of embed code from Youtube
<object width="
560" height="
315"><param name="movie" value="
http://www.youtube.com/v/o6k6UerIOb4?version=3&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="
http://www.youtube.com/v/o6k6UerIOb4?version=3&hl=en_US" type="application/x-shockwave-flash" width="
560" height="
315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
5.Before post your embed code to your blog, you must change something at the code.
6.The
green colour at my code is the value of the width and height of the video.
7.If you want to make your music invisible, you must change the value to
1.
8.To make your music become autoplay, you must add
&autoplay=1 after the video ID(the blue colour)
After the changes, your code must look like this:-
<object width="
1" height="
1"><param name="movie" value="
http://www.youtube.com/v/o6k6UerIOb4&autoplay=1?version=3&hl=en_US"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed src="
http://www.youtube.com/v/o6k6UerIOb4&autoplay=1?version=3&hl=en_US" type="application/x-shockwave-flash" width="
1" height="
1" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Now you can post your embed code to your blog.
Open up your Blog, click on Design.
Then, go to Layout .
Add a Gadget.
Go to html/javascript.
Post your embed code to the html/javascript.
DONE!
IF YOU WANT TO GET EMBED CODE FOR YOUR FAVOURITE SONGS, YOU CAN
CLICK HERE