Web Page SOUND Tutorial
Adding Sound to your Webpages

computer     This lesson will show you how to code your webpage to Play Sound... The easiest way is to use the M3P Player ...Please give it a moment to load... (below, click the little arrow to play)...


NOTE: Player will only appear on PC's or Macs... since Flash does NOT work on Smart Phones or Tablets... SORRY!

    Advantage of this technique: (1) Users have a CHOICE to either listen or not... if you code to automatically play sound (using or ), you will undoubtably lose many users who simply do NOT want to listen to your sound file... (2) No "helper application" such as Windows Media or Real Player has to open to play your sound file, so users are kept "in full view" of your webpage as the sound plays... (3) Compatable with IE, Firefox and Chrome plus many other web browsers...

The ACTIVATION LINK should be written like this:

<object type="application/x-shockwave-flash" data="http://flash-mp3-player.net/medias/ player_mp3_mini.swf" width="200" height="20">
<param name="movie" value="http://flash-mp3-player.net/medias/ player_mp3_mini.swf">
<param name="bgcolor" value="#000000">
<param name="FlashVars" value="mp3=http%3A//yourhost// yourdirectory/ yourfilename.mp3&autoplay=0">
</object>

[Read More About The MP3 Player Here]

Another method to put Sound onto your webpage is to use the AUDIO HTML5 TAG
just click the "little arrow" ...

<audio controls>
<source src="http://yourhost.com/ directory/file_name.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>

Note: The audio tag is not supported in Internet Explorer 8 and earlier versions, but will work on most HTML5 supported browsers, including Android Devices, and Tablets, but (probably) not iPads or iPhones...

Please [SEE W3Schools Info Here] for more help...

This concludes our Tutorial on Adding Sound To A Webpage