开发者

Changing the src path of html5 audio element using c#

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";
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜