Salve a tutti.
Scusatemi se pongo una domanda stupida ... ho scritto un sito in aspx e vorrei metterci un file audio (.wav) come musica di fondo...
L'unico modo che ho trovato è:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim player As New SoundPlayer
player.SoundLocation = "http://localhost/musica/Mr_ Lawrence.wav"
player.Load()
player.PlayLooping()
End sub
Però anche quando chiudo la pagina o esco dal sito la musica continua ad andare......
Potete aiutarmi ?
Grazie a tutti
Walter

Rispondi quotando