开发者

How can I play a wav file in Silverlight 3?

开发者 https://www.devze.com 2022-12-27 07:44 出处:网络
How ca开发者_Python百科n I play a wav file in Silverlight 3.File is on other web site.You would use the MediaElement to play a sound file. To be honest, I was unable to get Silverlight to play a .WAV

How ca开发者_Python百科n I play a wav file in Silverlight 3.File is on other web site.


You would use the MediaElement to play a sound file. To be honest, I was unable to get Silverlight to play a .WAV file and had to convert it to WMA. But it may have just been an unsupported codec.


Seems like SL2 don't support wav playback. But in SL3 wav playback is support.

I hope this can help.

http://code.msdn.microsoft.com/wavmss

http://blogs.msdn.com/gillesk/archive/2009/03/23/playing-back-wave-files-in-silverlight.aspx

Regards.

0

精彩评论

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