I am creating a control that contains an html5 audio element and I want to be able to change the source of the audio dynamically. I can ac开发者_StackOverflowcess the audio element in C# but am unable to figure out how to change the src attribute. Thanks!
Have you tried this way?
audioElement.Attributes["src"] = "something";
精彩评论