如何使用Flash播放Wave文件?
我可以使用以下代码播放mp3文件。
<embed id="wmp" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="true" width="320" height="240" loop="false"
src=<%= request.getParameter("url") %> />
最佳答案
如果Adobe Flash支持Wave格式的音频,则不会支持。
维基百科未提及对wave音频http://en.wikipedia.org/wiki/Adobe_Flash#Flash_Audio的支持
编辑:
找到了关于这个问题的答案。 (如何在Flash中播放WAV音频)Can the flash player play .wav files from a url?
根据那篇文章,wav音频本身不是由Flash支持的,但是这是一些解决方法
关于flash - 如何使用http播放wave文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2938333/