How to play binary MP3 stream with jQuery/Javascript?

前端 未结 5 1155
独厮守ぢ
独厮守ぢ 2021-01-14 00:01

I\'m getting a pure binary MP3 stream from an ajax call. No headers, nothing. Just straight MP3 bits. (Actually is that really even a stream at all?)

I\'d like to b

5条回答
  •  一整个雨季
    2021-01-14 00:53

    You might want to look at SoundManager 2: Javascript Sound for the Web

    Its an open-source BSD licensed JavaScript script for dealing with sound.

    It automatically hooks into HTML5 or Flash to produce the sound, depending on what is available.

提交回复
热议问题