|
1 | | -# Readme |
2 | | -The CommentCoreLibrary is a set of Javascript 'classes' that make up the |
3 | | -core controller for comments streaming on top of a video. It is intended |
4 | | -as a catalyst for the future development of timed comments streaming |
5 | | -alongside videos. |
| 1 | +# CommentCoreLibrary 弹幕核心通用构件 |
| 2 | +The CommentCoreLibrary is a set of Javascript modules that make up the |
| 3 | +core controller for comments streaming on top of timed media (video or audio). |
| 4 | +It is intended as a catalyst for the development of timed "danmaku" comments |
| 5 | +in HTML5. |
6 | 6 |
|
7 | | -The CCL is intended for education purposes (in contrast to |
8 | | -[ABPlayerHTML5](https://github.com/jabbany/ABPlayerHTML5) |
9 | | -which focuses on real world use) and is separated into sections that |
10 | | -help developers understand how the library and how danmaku comments |
11 | | -work. |
| 7 | +Developers willing to incorporate similar comment streaming functionalities |
| 8 | +inside their own projects (whether web based or not) are encouraged to learn |
| 9 | +from and extend from the CommentCoreLibrary. |
12 | 10 |
|
13 | | -Developers willing to incorporate similar comment streaming |
14 | | -functionalities inside their own projects (whether web based or not) are |
15 | | -free to learn from and extend from the CommentCoreLibrary. |
16 | | - |
17 | | -## Testing on your browser |
18 | | -You can see a live demo (most current source) |
19 | | -[here](http://jabbany.github.com/CommentCoreLibrary/demo). Feel free to open |
20 | | -tickets if this demo test has bugs. Remember to tell me your browser |
21 | | -vendor/version info though. PS, just a heads up, due to lack of |
22 | | -fonts, Linux systems may render some fixed point animations wrong, this |
23 | | -is normal. You should install the basic chinese font SimHei for accurate |
24 | | -positioning. |
| 11 | +## Testing |
| 12 | +We have a live demo [here](http://jabbany.github.com/CommentCoreLibrary/demo). |
| 13 | +Feel free to [open tickets](CONTRIBUTING.md) if this demo test has bugs. |
25 | 14 |
|
26 | 15 | ## License |
27 | | -The CommentCoreLibrary is licensed under the permissive MIT License. If |
28 | | -you wish to use this in any project, you can simply include the |
29 | | -following line: |
| 16 | +The CommentCoreLibrary is licensed under the permissive MIT License. If you wish |
| 17 | +to use this in any project, you can simply include the following line: |
| 18 | + |
| 19 | + CommentCoreLibrary (//github.com/jabbany/CommentCoreLibrary) - Licensed under the MIT license |
30 | 20 |
|
31 | | - CommentCoreLibrary (//github.com/jabbany/CommentCoreLibrary) - |
32 | | - Licensed under the MIT license |
33 | | - |
34 | 21 | ## Examples and Documentation |
35 | | -- Documentation can be found inside the /docs/ folder. |
36 | | -- Some sample extension modules may be found in /extend/. |
37 | | -- Experimental modules are in /experimental/. |
38 | | -- You may test using test data found in /tests/. |
| 22 | +- Documentation can be found inside the `docs/` folder. |
| 23 | +- Some sample extension modules may be found in `extend/`. |
| 24 | +- Experimental modules are in `experimental/`. |
| 25 | +- You may test using test data found in `tests/`. |
39 | 26 |
|
40 | 27 | ## Contributing |
41 | | -Please feel free to fork the project on GitHub. Also, bug reports and |
42 | | -feature requests are welcome! |
| 28 | +We encourage any contributions to this project, please read |
| 29 | +[CONTRIBUTING](CONTRIBUTING.md) for details on how to contribute to the project. |
| 30 | + |
| 31 | +Also, feel free to have a look at our sister project |
| 32 | +[ABPlayerHTML5](https://github.com/jabbany/ABPlayerHTML5) for a reference |
| 33 | +implementation of a video player with CommentCoreLibrary. |
43 | 34 |
|
44 | 35 | # 弹幕核心通用构件 |
45 | | -弹幕播放核心是一套原始的基于JavaScript构建的弹幕控制器,意在催化HTML5下弹幕播放器的 |
46 | | -发展,和为希望了解弹幕播放器弹幕组件运作原理的开发者提供简单但是深入的入门。该播放器核心 |
47 | | -由ABPlayerHTML5衍生,并现在被其使用。开发者们可以根据弹幕播放核心来自定义自己的流媒体 |
48 | | -注视播放模式。 |
| 36 | +弹幕核心通用构件是一套基于JavaScript构建的弹幕控制器,意在催化HTML5下弹幕播放器的发展。同时方便 |
| 37 | +希望了解弹幕播放器运作原理的开发者,提供简单但是深入的入门。开发者们可以根据弹幕核心通用构件来自定义 |
| 38 | +自己的流媒体注释播放模式。 |
49 | 39 |
|
50 | 40 | 不管你在开发基于Javascript的Web服务,还是其他的需要弹幕播放功能服务,都可以参考弹幕核心 |
51 | 41 | 的实现代码。我们以简单的方法构建了 (1) 时间轴管理 (2) 基础空间规划 (3) 弹幕过滤 (4) |
52 | | -高级弹幕效果 (5) 基础格式解析 |
| 42 | +高级弹幕效果 (5) 基础格式解析 (6) 代码弹幕支持 |
53 | 43 |
|
54 | 44 | ## 测试 |
55 | 45 | 你可以在[这里](http://jabbany.github.com/CommentCoreLibrary/demo) 访问到测试页面。 |
56 | | -我们欢迎各种BUG提交。如果你在用Linux,请确保你有标准中文字体(宋体 Simsun【必需】 |
57 | | -,黑体 Simhei【必需】,雅黑 Microsoft YaHei,幼圆 YouYuan,隶书),和日文字体 |
58 | | -(Mincho, Gothic)。 |
| 46 | +我们欢迎各种[BUG报告](CONTRIBUTING.md)。 |
59 | 47 |
|
60 | 48 | ## 许可 |
61 | | -本程序为教学用意,采取非常宽松的MIT许可。该许可允许你把本项目运用在任何开源或是闭源的, |
62 | | -非营利或商业性的项目中。 |
| 49 | +本项目采取非常宽松的MIT许可。该许可允许你把本项目运用在任何开源或是闭源的,非营利或商业性的项目中。 |
63 | 50 | 您只需在使用到的地方添加下面一行注释: |
64 | 51 |
|
65 | | - CommentCoreLibrary (//github.com/jabbany/CommentCoreLibrary) - |
66 | | - Licensed under the MIT license |
| 52 | + CommentCoreLibrary (//github.com/jabbany/CommentCoreLibrary) - Licensed under the MIT license |
67 | 53 |
|
68 | 54 | ## 使用 |
69 | | -有关本项目的文档可以在 /docs/ 文件夹里面找到。一些功能性扩展模块会出现在 /extend/ 中。 |
70 | | -一些实验性模块在 /experimental/ 里面。 |
| 55 | +- 有关本项目的文档可以在 `docs/` 文件夹里面找到。 |
| 56 | +- 一些功能性扩展模块会出现在 `extend/` 中。 |
| 57 | +- 一些实验性模块在 `experimental/` 里。 |
71 | 58 |
|
72 | 59 | ## 做出贡献 |
73 | 60 | 非常欢迎提交问题报告和意见建议,同时你也可以在GitHub上Fork本工程,并发送Pull请求来提交 |
74 | | -你对项目的贡献。我们非常欢迎二次开发哟! |
| 61 | +你对项目的贡献。我们非常欢迎二次开发哟!有关具体介绍请参考 [CONTRIBUTING](CONTRIBUTING.md)。 |
75 | 62 |
|
76 | | -同时我们也欢迎对项目任何细节处的针对性研发,如解析功能,高级弹幕和CSS优化等。如果希望研发 |
77 | | -播放器的构造和功能,请参考 ABPlayerHTML5 项目~ |
| 63 | +我们欢迎对项目任何细节处的针对性研发,尤其比如:解析功能、高级弹幕/代码弹幕和CSS优化等。 |
| 64 | +如果希望研发播放器的构造和功能,请参考姊妹项目 ABPlayerHTML5。 |
0 commit comments