开发者

Actionscript 3, Play a specific part of an MP3 file without loading all of it?

开发者 https://www.devze.com 2023-04-06 06:07 出处:网络
I have a project at office which is mp3 player its almost finished but I have a problem in which I need your help

I have a project at office which is mp3 player

its almost finished but I have a problem in which I need your help

when a user start a song from any point, the whole mp3 file gets loaded then start to play from the point user selected

so now I need a solution to be able to play the mp3 from 开发者_运维技巧a specific time without loading the whole mp3 to be able to do that

(You know like youtube when you click in the middle of a video and it starts to play from this point)

Any help will be greatly appreciated, Thanks.


Youtube videos are broadcasted by a streaming server which allows you to jump to a specific position without loading everything. This is not possible with a standard file server. You must send your mp3 onto a streaming server to do so (red5, FMS, online streaming service...), but I guess it may be overkill for your project.

0

精彩评论

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

关注公众号