Awesome Guitar

Wednesday, July 13, 2011

Auto Play Music

This is a great way to get your tunes heard! There is no downloading. The selection just plays right off the web. The user does not have to search around the site and figure out which player to use.

First, of course you would upload your sound file (like .mp3 file) to your website. The use the web address for that sound file in your code like the example above.

If you enter 2px for the width and simultaneously 0px for the height, the player will be invisible. One thing to note about this is that the visitor will not be able to stop the music, if they want to, without leaving your site.


If you want your own music to auto-play from your website, here is an example code you can insert.

<embed src="your sound file web address here" autostart="true" loop="true" style="width: 165px; height: 86px">



Very cool. I have just released my new guitar piece. "It's Raining on the Moon!" Brace yourself! I have it set on auto play so all you have to do is click on this link to hear the music..... 

http://www.kevinbennett.us

In the upper left hand corner, on my site, there will be a built-in player box so you can pause the jams or skip to different points in the piece.


I'm hooked on this instant-jam technology and want use this on more of my websites. If you click on the links within my site, you may find even more sonic surprises!


Thanks for rocking along!

No comments:

Post a Comment