I have to play a audio file on my web page automatically. I am using Yahoo Media Player.
Right now I am playing the audio like this....
<td> <a id= "songlink" runat = "server" visible ="false" >Play Advertisement</a>
I am giving the href in code behind( based on the user location)
songlink.HRef = "Media/song1.mp3"
songlink.Visible = True
With this method, I have to click on the link, to play the song..
But, I would like to play the song automatically( without any click) . Is it possible to do so from code behind?
Appreciate the help