I'm attempting to add a button to my ASP.net website that, when clicked, will trigger a music player to start streaming music on the site.
Although I have experience creating buttons and handling events, I am struggling to get my player to play the *.mp3 file.
The following code snippet shows the music player I typically use on regular HTML websites:
<embed src="music/ToGlory.mp3" width="140" height="40" autostart="false" loop="TRUE" hidden="True"></embed>
This is what I attempted to do:
Sub submit(s As Object, e As EventArgs)
button=embed src="music/ToGlory.mp3" width="140" height="40" autostart="false" loop="TRUE" hidden="True" /embed
End Sub