How to play binary MP3 stream with jQuery/Javascript?

前端 未结 5 1268
独厮守ぢ
独厮守ぢ 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:58

    You cant play music with pure javascript. you will need to get that stream and pass it to a flash player.

    try JW flash player, though i am not sure if it can handle the type of stream you are talking about. you will have to do some research about what it can handle

提交回复
热议问题