Thu, 2012-12-13 02:24
How can I get background website music to play on the cellphone and tablet while viewing the site?
Thu, 2012-12-13 03:03#1
Use the object element to
Use the object element to embed the music file in the page. Keep in mind that if the visitor is listening to something already, or is in a place where the music would be poor manners, he may not appreciate your setting autoplay. Always leave it to the visitor to explicitly start any audio or video himself.
<object type="audio/mp3" data="example.mpg"> <param name="autoplay" value="false"> </object>