playing music with .net?

  • Thread starter Thread starter AAaron123
  • Start date Start date
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>
 
Back
Top