开发者

jQuery Audio Player

开发者 https://www.devze.com 2022-12-29 01:03 出处:网络
I was given 2 MP3 files, one that is 4.5Mb and one that is 5.6Mb. I wa开发者_开发知识库s instructed to have them play on a website I am managing. I have found a nice, clean looking CSS based jQuery au

I was given 2 MP3 files, one that is 4.5Mb and one that is 5.6Mb. I wa开发者_开发知识库s instructed to have them play on a website I am managing. I have found a nice, clean looking CSS based jQuery audio player.

My question is, is this the right solution for files that big? I am not sure if the player preloads the file, or streams it? (If that is the correct terminology) I don't deal much with audio players and such...

This player is from happyworm.com/jquery/jplayer/latest/demo-01.htm

Is there another approach I shoudl take to get this to play properly? I don't want it to have to buffer, and the visitor to wait, or slow page loading... etc.etc. I want it to play clean and not affect the visitors session to the site.


The name is a bit misleading - the MP3 playing is done in a Flash component, as in all other similar players, too. The jQuery part of it is the control and customization of the player (which is very nice, I'm not saying anything against the product).

The player should be capable to play an MP3 file while it loads. It's not going to be real streaming (because you can't skip to arbitrary positions) but it should work out all right. Make sure you test the buffering yourself, using a big MP3 file. Remember to encode the MP3 files according to the rules because otherwise the files will act up, especially in older players.

0

精彩评论

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