Thursday, November 22, 2012
How to Add Autoplay Music To Blogspot
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
Subscribe to:
Post Comments (Atom)
Many thanks for information on autoplaying music on a blog, I have got it working on our YHA group blog.
ReplyDeleteThanks a lot. I used Vimeo rather than you Tube as there's an 'autoplay' tick box and I did not need to amend the code.
Thank so much Sir...
ReplyDeleteHi Rohisa,
DeleteYou havea helpful blog and I have used the autoplay well on my site. It is used as a short introduction to the blog, it then cuts out so that people can play the videos on the blog posts and listen to the audio for those posts.
My question is : Can I have music when the blog is opened and plays 'until' the reader clicks to play one of the posts containing a video.
This would then stop the main music and go to the audio on the post they are playing.
Thank you in advance. John [of West Ham YHA Group blog]
Thank you so much. :D
ReplyDeletethank youuuuuuuuuuuu! :)
ReplyDeleteThankssss <3 Perfect two
ReplyDeletehttp://zachipigg.blogspot.com/
Not happening. I did exactly what you told but instead of the audio the link is coming in my blog.The song i want to add: https://www.youtube.com/watch?v=VjPAWbk5jKc
ReplyDeletePlease help me find the embed code for autostart. Please!!
This comment has been removed by the author.
ReplyDeleteHello Hi,
ReplyDeleteI wanted to add a sound from my soundcloud page to my blogspot, to automatically play when someone visits. How would I go about this, have tried a few times.
why it didn't work for me? im very sure i did something wrong here..
ReplyDeleteactually should be adding ?rel=0&autoplay=1, not just &autoplay=1.
ReplyDeleteI tried many time but it can't do autoplay.
ReplyDelete