How to add auto-playing music to a webpage in HTML5

We will see how to add dynamically an invisible music auto-player to a web page and a switch to turn it on/off

Advertisements

My musical web pageIn this article we will see how to add  music player to a web page  that will start automatically at the loading of the page. We will use the Javascript audio object so that the player will be invisible. We will also create and add a switch to our page with JQuery, for toggling the music on and off.
All the functions of our example are included in a zip file that can be downloaded.

Continue reading “How to add auto-playing music to a webpage in HTML5”

Hello world!

This is the way to start a new blog and I want to maintain the tradition.

Hello World

 

Hello World! is the first message I want to send to this wonderful world, full of upcoming challenges.