javascript 或 jQuery 音乐播放器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4475456/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-25 13:48:07  来源:igfitidea点击:

javascript or jQuery music player

javascriptjqueryaudio-player

提问by Tiago Castro

I'm in a middle of a project, and the client want a player to play some music.

我正在做一个项目,客户想要播放器播放一些音乐。

So, my question is, is there any way with javascript or a jQuery plugin where we have a very small playlist, like 3 or 4 songs or so, and the visitor control the music he/she wants, the volume, etc... Like many flash players we see around the web.

所以,我的问题是,有没有办法使用 javascript 或 jQuery 插件,我们有一个非常小的播放列表,比如 3 或 4 首歌曲左右,并且访问者可以控制他/她想要的音乐、音量等...就像我们在网络上看到的许多 Flash 播放器一样。

Thanks in advance!

提前致谢!

回答by Trufa

First result from google :) :)

谷歌的第一个结果:) :)

jPlayeris very slick!! see a demo here.

jPlayer非常流畅!!在这里查看演示。



Some other helpful stuff:

其他一些有用的东西:

http://plugins.jquery.com/plugin-tags/music-player

http://plugins.jquery.com/plugin-tags/music-player

http://plugins.jquery.com/plugin-tags/audio

http://plugins.jquery.com/plugin-tags/audio

回答by Andrew Orsich

I've used soundmanager2at production and was pleased with.

我在生产中使用过soundmanager2并且很满意。

回答by peller

Dojo has a pluggable abstraction for a music (and video) player. The main implementation uses Flash.

Dojo 具有用于音乐(和视频)播放器的可插拔抽象。主要实现使用 Flash。

回答by Saul Dolgin

I have had good results using JW Player. It's pretty easy to get started with too.

我使用JW Player取得了不错的效果。它也很容易上手。

回答by Johnny Ray

my plugin Swagg Player will do the trick! http://johnny-ray.com/swaggplayer

我的插件 Swagg Player 可以解决问题!http://johnny-ray.com/swaggplayer

demo here http://johnny-ray.com

演示在这里http://johnny-ray.com

回答by dt_slash

My online music player jsMusicBox written in just html, js, and php might be perfect for a small setup. Download from my site here: jsMusicBox

我的在线音乐播放器 jsMusicBox 仅用 html、js 和 php 编写,可能非常适合小型设置。从我的网站下载:jsMusicBox