Flash based .wav player [closed]

2019-04-05 08:22发布

Does anybody know of a free/open source flash-based music player that can playback .wav files?


I am trying to playback Asterisk recorded calls in a developed console of the Caller CDR table, I am using Windows Media Player for that, but I want it to work in Firefox without having the end-user install the WM Plugin for Firefox. Any ideas?

标签: flash wav player
5条回答
Lonely孤独者°
2楼-- · 2019-04-05 08:59

I don't think you can play .wav files out of the box in any Flash based player, there's simply no support for them.

You could in theory develop/port your own, kind of this Haxe OGG decoder:

http://barelyfocused.net/blog/2008/10/03/flash-vorbis-player/

But doesn't look easy.

If this is a web app, maybe you could recode the wav files using something like FFMPEG on the server, but you probably need admin rights on the server and set up all the hooks and stuff.

If you provide more info about the situation maybe there're other ways to tackle the problem.

查看更多
何必那么认真
3楼-- · 2019-04-05 09:09
贼婆χ
4楼-- · 2019-04-05 09:10

Flowplayer supports mp3 playback, I know (maybe not WAV,) but you could definitely couple it with ffmpeg to do some quick transcoding, depending on your setup.

查看更多
你好瞎i
5楼-- · 2019-04-05 09:12

I wrote a front end that invokes SOX (with LAME) to translate the WAV files into MP3's, then uses Soundmanager2 (a flash/javascript tool) on the client side to play them back. So far, works great with IE, Firefox, Safari and Chrome on Windows and Firefox and Safari on Macs.

Seems like once you get the WAVs into MP3 format, your client player options open up quite a bit.

查看更多
Luminary・发光体
6楼-- · 2019-04-05 09:22

I have created flash player, primarily aimed to play asterisk sounds. It can play wav pcm, wav gsm, au, raw gsm/alaw/ulaw/pcm files. You can get it here: http://blog.datacompboy.ru/2009/10/19/wavplayer-flash-player-for-asterisk-sounds/

查看更多
登录 后发表回答