playing music with .net?

A

AAaron123

I found the code below but it appears that bgsound is not

supported with XHTML 1.0 Transitional.



So I searched the internet and found many hits for producing sound but can't
figure what is old and what is current.

Can you point me to a way I can accomplish what the code below does but
using ASP.NET?



thanks





<bgsound src="thisone.mid" loop="-1">


<script type="text/javascript">

function stopSound() {

document.all.tags("bgsound")[0].volume = -10000;

}

function restartStop() {

document.all.tags("bgsound")[0].volume = 0;

}

</script>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,148
Latest member
ElizbethDa
Top