• Stars
    star
    878
  • Rank 51,998 (Top 2 %)
  • Language
    JavaScript
  • Created almost 13 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Video Player for danmaku comments. ABPlayer in HTML5. ABPlayer核心构件以动态HTML编写的版本。向HTML5进发!HTML5弹幕播放器

ABPlayerHTML5

ABPlayerHTML5 is a spinoff of the original ABPlayer. It is intended as a reference implementation of an HTML5 Danmaku Video Player that uses CommentCoreLibrary as a backing implementation.

Feel free to try out our demo. If you find any bugs, please open an issue in the issue tracker.

Support

We use the latest stable source of CommentCoreLibrary by using npm as a package manager. This means we are able to support high complexity moving danmaku and both Acfun and Bilibili file formats natively. ABPlayerHTML5 is built to be compatible across multiple browsers and supports current versions of Chrome (25+), Firefox (24+), Safari and Internet Explorer (9+).

We do not include scripting danmaku support in ABPlayerHTML5 as it is less common and significantly adds difficulty to deployment.

The deprecated interfaces and creator interfaces are no longer maintained, you can check them out by navigating to previous commits.

Building

Please use npm install to install the needed libraries and then use grunt to compile the project.

Mobile

ABPlayerHTML5 is designed to work with mobile devices allowing swipe gestures and enhanced space allocation. However please note that when using in iOS versions for iPhone & iPod, embedded playback is not supported so there will be no comments displayed as the video is played in the system's player.

For iPad and OS X, Safari allows inline videos so there should be no problem.

CommentCoreLibrary

ABPlayerHTML5 employs a compiled version of CommentCoreLibrary. If you are only interested in the implementation for danmaku comments, please move on to CommentCoreLibrary, our sister project.

License

Copyright (c) 2014 Jim Chen (http://kanoha.org/), under the MIT license.

中文

ABPlayerHTML5是一个ABPlayer的子项目。通过把ABPlayer的核心弹幕类重写成JS来实现一个简单但是能 高度整合HTML5的原生弹幕播放控件。目前我们支持大部分的移动端和桌面端。

如果你对项目的效果感兴趣,请 戳这里 来观 看本项目在你浏览器下的效果。我们欢迎有关项目呈现BUG的报告。请使用Github自带的issues发布新的Issue。

项目状态

本项目目前采取 CommentCoreLibrary 稳定版作为弹幕的后端支持库。这样我们就可以高效的还原高级弹幕 同时也有自建的Acfun和Bilibili格式解析器。本项目兼容大部分最新版本的浏览器,包括Chrome,Firefox Safari和IE。项目中不包括对脚本弹幕的支持,因为脚本弹幕的使用率并不很高,而添加支持代码则会让维护 变得困难。

以前版本的旧文件在新版下不会保留,如果需要使用旧的界面,请checkout更早的commit。

移动终端

本播放器自带对大部分支持HTML5的移动终端的支持,包括简单的手势支持和界面优化。不过值得注意的是iPhone 和iPod很可能无法正确还原弹幕,因为这些设备上视频由设备接管,不能内嵌在浏览器中。

弹幕核心通用构件

ABPlayerHTML5用 CommentCoreLibrary 作为播放器的弹幕支持后端。采用的是 CCL 的发行稳定版(即 有版本号的在 npm 上注册的版本)。CCL由于还在未成熟阶段,所以开发中可能出现API变动,ABPlayerHTML5 只会在这些API变动正式化后才跟进,所以采取自行编译版本的CCL可能会与ABP产生衔接问题,需要开发者注意。

许可

版权所有 (c) 2014 Jim Chen (http://kanoha.org/), 项目遵循 MIT许可协议.

More Repositories

1

CommentCoreLibrary

Javascript Live Comment (Danmaku) Engine Implementation. JS弹幕模块核心,提供从基本骨架到高级弹幕的支持。
TypeScript
1,902
star
2

dhufufu

Dhufufu~ API Database for ACG sites & Related Services 有关各种ACG网站的API啦神马的
JavaScript
208
star
3

KnProxy

Lightweight, PHP-based Web Proxy that can utilize whatever remote connecting ablities your server has to offer. It should work out of the box. No configuration needed. For educational purposes.
PHP
166
star
4

ABPlayer

A Flex based live comment displayer for online video comment sharing. 一个基于Flex的在线弹幕播放器。
ActionScript
132
star
5

StratuMITM

A MITM "forwarding proxy" for the Stratum mining protocol. For debugging use ONLY.
JavaScript
32
star
6

totem-danmaku

totem-danmaku is a plugin that provides danmaku support for Totem Player. totem弹幕为Gnome下的totem播放器提供弹幕支持
Python
24
star
7

exhentai-metadata-archive

Archival. JSONL dump of the exhentai metadata from the community crawl.
Python
12
star
8

ShimejiHTML5

The worlds most useless port of a desktop (webpage) mascot
JavaScript
12
star
9

ChottoBilibili

ChottoBilibili is a Chrome extension for 'following' feature in ACG sites in China. It allows view status syncing and other user-friendly features. 稍微有点Bilibii,是一个(现开源)的Chrome扩展,其包含一套用于增强B站及其他ACG站点功能的工具套件。
JavaScript
11
star
10

CIS120FinalProject

CIS120 Final Project -- 3D Snakes. 程设课程期末作业。仿诺记的 3D 贪食蛇。
Java
10
star
11

esp8266-shadowsocks

Experiment implementing ss-server on the ESP8266 microcontroller
C++
8
star
12

ccl-react

Danmaku comments overlay for React
TypeScript
2
star
13

ZBOX-MI553-U-Config

OS X Config for ZBOX MI553
1
star
14

soundmodem-html5

(WIP) Attempt to implement old modem protocols through the HTML5 Audio API
JavaScript
1
star