AutoPlay Audio On Page Load using Code Behind in C# and VB.Net

Last Reply 9 months ago By pandeyism

Posted 9 months ago

I am using html 5 audio player i want to assign the src to it on page load and click on play button from page behind but its not working pls advice.

 <audio id="buzz" runat="server"   type="audio/mp3"/>


buzz.Src = "../images/filling-your-inbox.mp3";
buzz.Style.Add("autoPlay", "autoPlay");


This question does not have replies that have been liked.