What to do if you want to host music or video in your own Blog.In Word press you can add music and video easily but what about Blogger.Today we are going to play music or video by yahoo media player.From it.we can play music as we play in window media player or something other.lets do it.
Hosting Music or Video Files
- You need to host file with direct linking.Some file hosting sites at Google Sites,Google Codes etc.
Add JavaScript In Template.
To play the music or video you need to add the script in Template like this,
- Go to Blogger Dashboard>Template or Design>Edit HTML
- Paste the following codes just before </head> Tag
<script type="text/javascript" src="http://mediaplayer.yahoo.com/js"></script> <script type="text/javascript" src="http://webplayer.yahooapis.com/player.js"></script>
- If you want to host music only then you can add line 1 codes only.Or if you want to host video only you can add line 2 code only.
Adding Video player in Post.
- Go to Dashboard>New Post.
- Switch to HTML mode.
- Add the codes like this
<a href="Direct Music link here">Audio 1</a>
- In Direct Music link here replace those code with URL of Video.
- In Audio 1 replace with the name of Music or Video
- When you will click on Audio 1 you will see it playing.
- If you want to add as widget just go to Dashboard>Design or layout>Click on add Gadget>HTML/JavaScript>Add the codes of line 3
Hope you are guided properly.Bye pals stay cheers and happy.
Subscribe for free
Thanks for visiting Blogger Rounder.We can subscribe to Blogger Rounder's by RSS feed or email updates.
0 comments on "Adding Yahoo music and Video Player.":
Post a Comment
We Love To Hear Comments from You.Comments are Welcome.You can comment here regarding this Post.If it is not related with the post you can ask a question by Contacting Us.Before Comment Please Subscribe To our RSS or email updates.Publishing Spam Comment is Not allowed.If you want to Add Code then Please Encode it.
Simple Tags like <a> ,<strong>,<b>,<em> and <i> are allowed for preventing spam