Skip to content

Instantly share code, notes, and snippets.

@kaid
Created August 17, 2012 03:49
Show Gist options
  • Save kaid/3375771 to your computer and use it in GitHub Desktop.
Save kaid/3375771 to your computer and use it in GitHub Desktop.
html5媒体播放器的选择

视频播放器

html5视频播放器:

+------------+---------------------------------+
| videojs    | http://videojs.com              |
+------------+---------------------------------+
| projekktor | http://www.projekktor.com       |
+------------+---------------------------------+
| jplayer    | http://jplayer.org/latest/demos |
+------------+---------------------------------+

flash视频播放器:

+------------+--------------------------------------+
| jwplayer   | http://www.longtailvideo.com/players |
+------------+--------------------------------------+
| flowplayer | http://flowplayer.org                |
+------------+--------------------------------------+

两者都可以通过修改源码(两者都开放源码)来去除作者版权信息(不知道以后是否会遇到法律问题)。

音频播放器

html5音频播放器:

+---------------+---------------------------------------------------+
| audiojs       | http://kolber.github.com/audiojs                  |
+---------------+---------------------------------------------------+
| soundmanager2 | http://www.schillmania.com/projects/soundmanager2 |
+---------------+---------------------------------------------------+
| jplayer       | http://jplayer.org/latest/demos                   |
+---------------+---------------------------------------------------+

这里jplayer同时支持音视频,它和soundmanager2都提供有提供相比其他player更底层的js api,可以更好自定义播放器样式,不过自带的基础样式需要自己手工加入很多html标记。

flash音频播放器:

+------------+--------------------------------------+
| jwplayer   | http://www.longtailvideo.com/players |
+------------+--------------------------------------+
| flowplayer | http://flowplayer.org                |
+------------+--------------------------------------+

flowplayer提供有简洁并且功丰富的api,并且可以通过插件扩展功能。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment