Friday, October 31, 2014

Add HTML5 Mp3 Music Player To Your Blog


Blogger html5 music player
Isn't it be cool to have a tune played when someone visit your websites or blog. Specially if your blog is about songs, music, movies and videos then it would be cool to play music automatically when visitors visits your websites. In this tutorial i will show you how to add a HTML5 mp3 music player to your blog. This mp3 player comes with features such as adjusting volume, play and pause button etc. It works on mostly all browsers except some lower version of internet explorer.

Live Demo (Check Below)



How to add HTML5 Mp3 Player ?


    1. Go to blogger Dashboard  > Layout
    2. Then Click on Add Gadget
    3. Select HTML/Javascript
    4. Copy the below code and Save it. (Any one of 3)

  • Code For Normal Mp3 Player
<audio controls="controls"><source src="mybloggersworld.com" autoload="true" autoplay="true" hidden="true" type="audio/mp3" /></source></audio>

  • Code to play Automatically
<audio controls autoplay="controls"><source src="mybloggersworld.com" autoload="true" autoplay="true" hidden="true" type="audio/mp3" /></source></audio>

  • Code to play music again and again (Looping)
<audio controls loop="controls"><source src="mybloggersworld.com" autoload="true" autoplay="true" hidden="true" type="audio/mp3" /></source></audio>
 
    Note: Replace mybloggersworld.com with url of mp3 file you want to play. The url     will end with  .mp3

    5. Now you have working  HTML5 Mp3 player on your blog.
    6. Place this widget where you want it to appear on your blog.

Related Posts:

  • Set up Priority mode on Android 5.0 Lollipop Set up 'Priority' mode on Android 5.0 Lollipop A new do not disturb mode is part of the latest version of Android. Here's what you need to know. Jason Cipriani/CNET After updating to Android 5.0 Lollipop , the f… Read More
  • How to protect your credit card online How to protect your credit card online Keep your credit card details away from prying eyes and avoid fraudulent transactions with these tips for shopping online Sarah Tew / CBS Interactive There's nothing like the feeling… Read More
  • Copy data from other devices in Android 5.0 Lollipop setup Copy data from other devices in Android 5.0 Lollipop setup Want to get all of your apps and settings on another device without looking for each one on the Play Store? Check out the new copy data feature during setup that ma… Read More
  • Staying healthy with technology Staying healthy with technology Living a healthy lifestyle is easier than ever before thanks to an array of fitness apps, wearable devices, and other smart products. Here's how you can harness the power of technology to los… Read More
  • Browse Instagram from your Mac's menu bar with Instastack Browse Instagram from your Mac's menu bar with Instastack Put Instagram on your Mac with Instastack, a well-designed app with a few holes. Matt Elliott/CNET Instagram is still stubbornly mobile only. Until Instagram … Read More

0 comments:

Post a Comment

Blog Archive

Statistik


widget

Popular Posts