Help!Question in sound play.
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
I have a page that I want play sound whenever I want.I embed a sound file in the page: The control code is document.sound.play(); //and I tried to use "document.sound.play(false);" too. But when I view this page,the browser give me an alert: The object doest not support this method. But I found some guide topic as the following: LiveAudio provides the following major JavaScript controlling methods. For these methods to be available to JavaScript (and the web page), you must embed a LiveAudio console (any console will do, it can even be hidden) somewhere on your page. • play({loop[TRUE, FALSE or an INT]}, '{url_to_sound}') .......... So why does my page not work? (My OS is Windows 2000 and Browser is MSIE6.0Pre Thanks a lot!