dplayer-enhanced 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,168 +1,168 @@
1
- <p align="center">
2
- <img src="https://i.imgur.com/LnPvZvO.png" alt="QDPlayer" width="100">
3
- </p>
4
- <h1 align="center">DPlayer Enhanced</h1>
5
-
6
- > 🍭 Wow, such a lovely HTML5 danmaku video player
7
-
8
- [![npm](https://img.shields.io/npm/v/dplayer-enhanced.svg?style=flat-square)](https://www.npmjs.com/package/dplayer-enhanced)
9
- [![npm](https://img.shields.io/npm/l/dplayer-enhanced.svg?style=flat-square)](https://github.com/Fluxonide/DPlayer/blob/master/LICENSE)
10
- [![npm](https://img.shields.io/npm/dt/dplayer-enhanced.svg?style=flat-square)](https://www.npmjs.com/package/dplayer-enhanced)
11
-
12
- ## Introduction
13
-
14
- ![image](http://i.imgur.com/207ch36.jpg)
15
-
16
- DPlayer Enhanced is a fork of the lovely HTML5 danmaku video player DPlayer, with added comprehensive keyboard shortcuts and features.
17
-
18
- **DPlayer supports:**
19
-
20
- - Streaming formats
21
- - [HLS](https://github.com/video-dev/hls.js)
22
- - [FLV](https://github.com/Bilibili/flv.js)
23
- - [MPEG DASH](https://github.com/Dash-Industry-Forum/dash.js)
24
- - [WebTorrent](https://github.com/webtorrent/webtorrent)
25
- - Any other custom streaming formats
26
- - Media formats
27
- - MP4 H.264
28
- - WebM
29
- - Ogg Theora Vorbis
30
- - Features
31
- - Danmaku
32
- - Screenshot
33
- - Hotkeys
34
- - Quality switching
35
- - Thumbnails
36
- - Subtitle
37
-
38
- ## Install
39
-
40
- ```bash
41
- npm install dplayer-enhanced
42
- ```
43
-
44
- ## Keyboard Shortcuts
45
-
46
- | Key Combination | Action |
47
- | ---------------- | ------------------------- |
48
- | `Space` | Toggle Play/Pause |
49
- | `Left Arrow` | Rewind 5 seconds |
50
- | `Right Arrow` | Forward 5 seconds |
51
- | `Up Arrow` | Increase Volume |
52
- | `Down Arrow` | Decrease Volume |
53
- | `Ctrl` + `X` | Increase Speed (+0.05x) |
54
- | `Ctrl` + `Z` | Decrease Speed (-0.05x) |
55
- | `Ctrl` + `Shift` | Reset Speed to 1.0x |
56
- | `Shift` + `S` | Take Screenshot |
57
- | `A` | Rewind 5 seconds |
58
- | `D` | Forward 5 seconds |
59
- | `F` | Toggle Browser Fullscreen |
60
- | `W` | Toggle Web Fullscreen |
61
- | `M` | Toggle Mute |
62
- | `+` / `=` | Increase Speed (+0.05x) |
63
- | `-` | Decrease Speed (-0.05x) |
64
- | `0` - `9` | Seek to 0% - 90% |
65
- | `Enter` (Numpad) | Reset Speed |
66
-
67
- Using DPlayer on your project? [Let me know!](https://github.com/DIYgod/DPlayer/issues/31)
68
-
69
- **[Docs](https://dplayer.Fluxonide.dev/)**
70
-
71
- **[中文文档](https://dplayer.diygod.dev/zh/)**
72
-
73
- ## Thanks
74
-
75
- ### Sponsors
76
-
77
- <div>
78
- <a href="https://www.dogecloud.com/?ref=dplayer" target="_blank">
79
- <img height="60px" src="https://player.dogecloud.com/img/logo_with_product3.png">
80
- </a>
81
- </div>
82
-
83
- ### Contributors
84
-
85
- <a href="https://github.com/Fluxonide/DPlayer/graphs/contributors"><img src="https://opencollective.com/DPlayer/contributors.svg?width=890" /></a>
86
-
87
- ## Related Projects
88
-
89
- Feel free to submit yours in [`Let me know!`](https://github.com/MoePlayer/DPlayer/issues/31)
90
-
91
- ### Tooling
92
-
93
- - [DPlayer-thumbnails](https://github.com/MoePlayer/DPlayer-thumbnails): generate video thumbnails
94
-
95
- ### Danmaku api
96
-
97
- - [DPlayer-node](https://github.com/MoePlayer/DPlayer-node): Node.js
98
- - [laravel-danmaku](https://github.com/MoePlayer/laravel-danmaku): PHP
99
- - [dplayer-live-backend](https://github.com/Izumi-kun/dplayer-live-backend): Node.js, WebSocket live backend
100
- - [RailsGun](https://github.com/MoePlayer/RailsGun): Ruby
101
-
102
- ### Plugins
103
-
104
- - [DPlayer-for-typecho](https://github.com/volio/DPlayer-for-typecho): Typecho
105
- - [Hexo-tag-dplayer](https://github.com/NextMoe/hexo-tag-dplayer): Hexo
106
- - [DPlayer_for_Z-BlogPHP](https://github.com/fghrsh/DPlayer_for_Z-BlogPHP): Z-BlogPHP
107
- - [DPlayer for Discuz!](https://coding.net/u/Click_04/p/video/git): Discuz!
108
- - [DPlayer for WordPress](https://github.com/BlueCocoa/DPlayer-WordPress): WordPress
109
- - [DPlayerHandle](https://github.com/kn007/DPlayerHandle): WordPress
110
- - [Selection](https://github.com/GreatSatan79/Selection): WordPress
111
- - [Vue-DPlayer](https://github.com/sinchang/vue-dplayer): Vue
112
- - [react-dplayer](https://github.com/hnsylitao/react-dplayer): React
113
- - [rc-dplayer](https://github.com/tianfeng98/rc-dplayer): React
114
-
115
- ### Other
116
-
117
- - [DPlayer-Lite](https://github.com/kn007/DPlayer-Lite): lite version
118
- - [hlsjs-p2p-engine](https://github.com/cdnbye/hlsjs-p2p-engine): Let your viewers become your unlimitedly scalable CDN
119
- - [CBPlayer](https://github.com/cdnbye/CBPlayer): Dplayer with CDNBye P2P plugin built in, supporting HLS, MP4 and MPEG-DASH P2P streaming.
120
- - Feel free to submit yours in [`Let me know!`](https://github.com/MoePlayer/DPlayer/issues/31)
121
-
122
- ## Who use DPlayer?
123
-
124
- - [学习强国](https://itunes.apple.com/cn/app/%E5%AD%A6%E4%B9%A0%E5%BC%BA%E5%9B%BD/id1426355645?mt=8): “学习强国”学习平台精心打造的手机客户端
125
- - [小红书](https://www.xiaohongshu.com/): 中国最大的生活社区分享平台,同时也是发现全球好物的电商平台
126
- - [极客时间](https://time.geekbang.org/): 极客邦科技出品的一款 IT 内容知识服务 App
127
- - [嘀哩嘀哩](http://www.dilidili.wang/): 兴趣使然的无名小站(D 站)
128
- - [银色子弹](https://www.sbsub.com/): 银色子弹,简称银弹,由多数柯南热爱者聚集在一起的组织
129
- - [浙江大学 CC98 论坛](https://zh.wikipedia.org/wiki/CC98%E8%AE%BA%E5%9D%9B): 浙江大学校网内规模最大的论坛,中国各大学中较活跃的 BBS 之一
130
- - [纸飞机南航青年网络社区](http://my.nuaa.edu.cn/video-video.html): 南京航空航天大学门户网站
131
- - [otomads](https://otomads.com/): 专注于音 MAD 的视频弹幕网站
132
- - [Cloudreve](https://github.com/HFO4/Cloudreve): 基于 ThinkPHP 构建的网盘系统
133
- - [oneindex](https://github.com/donwa/oneindex): Onedrive Directory Index
134
- - [arozos](https://github.com/tobychui/arozos): General purposed Web Desktop Operating Platform / OS for Raspberry Pis
135
- - [新东方云教室](https://roombox.xdf.cn/)
136
- - [BBHouse](https://github.com/endcloud/bbhouse-tauri): A Bilibili Cross-Platform Desktop Client Powered By Tauri
137
- - [Tampermonkey 阿里云盘](https://greasyfork.org/zh-CN/scripts/425955-%E9%98%BF%E9%87%8C%E4%BA%91%E7%9B%98)
138
- - [arozos](https://github.com/tobychui/arozos)
139
- - [GBCLStudio/fof-upload-qcloud](https://github.com/GBCLStudio/FoF-Upload-Qcloud)
140
- - Feel free to submit yours in [`Let me know!`](https://github.com/MoePlayer/DPlayer/issues/31)
141
-
142
- ## Donate
143
-
144
- DPlayer is an MIT licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.
145
-
146
- You can support DPlayer via donations.
147
-
148
- ### Recurring Donation
149
-
150
- - Become a Sponser on [GitHub](https://github.com/sponsors/DIYgod)
151
- - Become a Sponser on [Patreon](https://www.patreon.com/DIYgod)
152
- - Become a Sponser on [爱发电](https://afdian.net/@diygod)
153
- - Contact us directly: i@diygod.me
154
-
155
- ### One-time Donation
156
-
157
- We accept donations via the following ways:
158
-
159
- - [WeChat Pay](https://diygod.me/images/wx.jpg)
160
- - [Alipay](https://diygod.me/images/zfb.jpg)
161
- - [Paypal](https://www.paypal.me/DIYgod)
162
-
163
- ## Author
164
-
165
- **DPlayer** © [DIYgod](https://github.com/DIYgod), Released under the [MIT](./LICENSE) License.<br>
166
- Authored and maintained by DIYgod with help from contributors ([list](https://github.com/DIYgod/DPlayer/contributors)).
167
-
168
- > [Blog](https://diygod.me) · GitHub [@DIYgod](https://github.com/DIYgod) · Twitter [@DIYgod](https://twitter.com/DIYgod) · Telegram Channel [@awesomeDIYgod](https://t.me/awesomeDIYgod)
1
+ <p align="center">
2
+ <img src="https://i.imgur.com/LnPvZvO.png" alt="QDPlayer" width="100">
3
+ </p>
4
+ <h1 align="center">DPlayer Enhanced</h1>
5
+
6
+ > 🍭 Wow, such a lovely HTML5 danmaku video player
7
+
8
+ [![npm](https://img.shields.io/npm/v/dplayer-enhanced.svg?style=flat-square)](https://www.npmjs.com/package/dplayer-enhanced)
9
+ [![npm](https://img.shields.io/npm/l/dplayer-enhanced.svg?style=flat-square)](https://github.com/Fluxonide/DPlayer/blob/master/LICENSE)
10
+ [![npm](https://img.shields.io/npm/dt/dplayer-enhanced.svg?style=flat-square)](https://www.npmjs.com/package/dplayer-enhanced)
11
+
12
+ ## Introduction
13
+
14
+ ![image](http://i.imgur.com/207ch36.jpg)
15
+
16
+ DPlayer Enhanced is a fork of the lovely HTML5 danmaku video player DPlayer, with added comprehensive keyboard shortcuts and features.
17
+
18
+ **DPlayer supports:**
19
+
20
+ - Streaming formats
21
+ - [HLS](https://github.com/video-dev/hls.js)
22
+ - [FLV](https://github.com/Bilibili/flv.js)
23
+ - [MPEG DASH](https://github.com/Dash-Industry-Forum/dash.js)
24
+ - [WebTorrent](https://github.com/webtorrent/webtorrent)
25
+ - Any other custom streaming formats
26
+ - Media formats
27
+ - MP4 H.264
28
+ - WebM
29
+ - Ogg Theora Vorbis
30
+ - Features
31
+ - Danmaku
32
+ - Screenshot
33
+ - Hotkeys
34
+ - Quality switching
35
+ - Thumbnails
36
+ - Subtitle
37
+
38
+ ## Install
39
+
40
+ ```bash
41
+ npm install dplayer-enhanced
42
+ ```
43
+
44
+ ## Keyboard Shortcuts
45
+
46
+ | Key Combination | Action |
47
+ | ---------------- | ------------------------- |
48
+ | `Space` | Toggle Play/Pause |
49
+ | `Left Arrow` | Rewind 5 seconds |
50
+ | `Right Arrow` | Forward 5 seconds |
51
+ | `Up Arrow` | Increase Volume |
52
+ | `Down Arrow` | Decrease Volume |
53
+ | `` ` `` (Backtick) | Increase Speed (+0.05x) |
54
+ | `~` (`Shift+` `` ` ``) | Decrease Speed (-0.05x) |
55
+ | `Backspace` | Reset Speed to 1.0x |
56
+ | `P` | Take Screenshot |
57
+ | `A` | Rewind 5 seconds |
58
+ | `D` | Forward 5 seconds |
59
+ | `F` | Toggle Browser Fullscreen |
60
+ | `W` | Toggle Web Fullscreen |
61
+ | `M` | Toggle Mute |
62
+ | `+` / `=` | Increase Speed (+0.05x) |
63
+ | `-` | Decrease Speed (-0.05x) |
64
+ | `0` - `9` | Seek to 0% - 90% |
65
+ | `Enter` (Numpad) | Reset Speed |
66
+
67
+ Using DPlayer on your project? [Let me know!](https://github.com/DIYgod/DPlayer/issues/31)
68
+
69
+ **[Docs](https://dplayer.Fluxonide.dev/)**
70
+
71
+ **[中文文档](https://dplayer.diygod.dev/zh/)**
72
+
73
+ ## Thanks
74
+
75
+ ### Sponsors
76
+
77
+ <div>
78
+ <a href="https://www.dogecloud.com/?ref=dplayer" target="_blank">
79
+ <img height="60px" src="https://player.dogecloud.com/img/logo_with_product3.png">
80
+ </a>
81
+ </div>
82
+
83
+ ### Contributors
84
+
85
+ <a href="https://github.com/Fluxonide/DPlayer/graphs/contributors"><img src="https://opencollective.com/DPlayer/contributors.svg?width=890" /></a>
86
+
87
+ ## Related Projects
88
+
89
+ Feel free to submit yours in [`Let me know!`](https://github.com/MoePlayer/DPlayer/issues/31)
90
+
91
+ ### Tooling
92
+
93
+ - [DPlayer-thumbnails](https://github.com/MoePlayer/DPlayer-thumbnails): generate video thumbnails
94
+
95
+ ### Danmaku api
96
+
97
+ - [DPlayer-node](https://github.com/MoePlayer/DPlayer-node): Node.js
98
+ - [laravel-danmaku](https://github.com/MoePlayer/laravel-danmaku): PHP
99
+ - [dplayer-live-backend](https://github.com/Izumi-kun/dplayer-live-backend): Node.js, WebSocket live backend
100
+ - [RailsGun](https://github.com/MoePlayer/RailsGun): Ruby
101
+
102
+ ### Plugins
103
+
104
+ - [DPlayer-for-typecho](https://github.com/volio/DPlayer-for-typecho): Typecho
105
+ - [Hexo-tag-dplayer](https://github.com/NextMoe/hexo-tag-dplayer): Hexo
106
+ - [DPlayer_for_Z-BlogPHP](https://github.com/fghrsh/DPlayer_for_Z-BlogPHP): Z-BlogPHP
107
+ - [DPlayer for Discuz!](https://coding.net/u/Click_04/p/video/git): Discuz!
108
+ - [DPlayer for WordPress](https://github.com/BlueCocoa/DPlayer-WordPress): WordPress
109
+ - [DPlayerHandle](https://github.com/kn007/DPlayerHandle): WordPress
110
+ - [Selection](https://github.com/GreatSatan79/Selection): WordPress
111
+ - [Vue-DPlayer](https://github.com/sinchang/vue-dplayer): Vue
112
+ - [react-dplayer](https://github.com/hnsylitao/react-dplayer): React
113
+ - [rc-dplayer](https://github.com/tianfeng98/rc-dplayer): React
114
+
115
+ ### Other
116
+
117
+ - [DPlayer-Lite](https://github.com/kn007/DPlayer-Lite): lite version
118
+ - [hlsjs-p2p-engine](https://github.com/cdnbye/hlsjs-p2p-engine): Let your viewers become your unlimitedly scalable CDN
119
+ - [CBPlayer](https://github.com/cdnbye/CBPlayer): Dplayer with CDNBye P2P plugin built in, supporting HLS, MP4 and MPEG-DASH P2P streaming.
120
+ - Feel free to submit yours in [`Let me know!`](https://github.com/MoePlayer/DPlayer/issues/31)
121
+
122
+ ## Who use DPlayer?
123
+
124
+ - [学习强国](https://itunes.apple.com/cn/app/%E5%AD%A6%E4%B9%A0%E5%BC%BA%E5%9B%BD/id1426355645?mt=8): “学习强国”学习平台精心打造的手机客户端
125
+ - [小红书](https://www.xiaohongshu.com/): 中国最大的生活社区分享平台,同时也是发现全球好物的电商平台
126
+ - [极客时间](https://time.geekbang.org/): 极客邦科技出品的一款 IT 内容知识服务 App
127
+ - [嘀哩嘀哩](http://www.dilidili.wang/): 兴趣使然的无名小站(D 站)
128
+ - [银色子弹](https://www.sbsub.com/): 银色子弹,简称银弹,由多数柯南热爱者聚集在一起的组织
129
+ - [浙江大学 CC98 论坛](https://zh.wikipedia.org/wiki/CC98%E8%AE%BA%E5%9D%9B): 浙江大学校网内规模最大的论坛,中国各大学中较活跃的 BBS 之一
130
+ - [纸飞机南航青年网络社区](http://my.nuaa.edu.cn/video-video.html): 南京航空航天大学门户网站
131
+ - [otomads](https://otomads.com/): 专注于音 MAD 的视频弹幕网站
132
+ - [Cloudreve](https://github.com/HFO4/Cloudreve): 基于 ThinkPHP 构建的网盘系统
133
+ - [oneindex](https://github.com/donwa/oneindex): Onedrive Directory Index
134
+ - [arozos](https://github.com/tobychui/arozos): General purposed Web Desktop Operating Platform / OS for Raspberry Pis
135
+ - [新东方云教室](https://roombox.xdf.cn/)
136
+ - [BBHouse](https://github.com/endcloud/bbhouse-tauri): A Bilibili Cross-Platform Desktop Client Powered By Tauri
137
+ - [Tampermonkey 阿里云盘](https://greasyfork.org/zh-CN/scripts/425955-%E9%98%BF%E9%87%8C%E4%BA%91%E7%9B%98)
138
+ - [arozos](https://github.com/tobychui/arozos)
139
+ - [GBCLStudio/fof-upload-qcloud](https://github.com/GBCLStudio/FoF-Upload-Qcloud)
140
+ - Feel free to submit yours in [`Let me know!`](https://github.com/MoePlayer/DPlayer/issues/31)
141
+
142
+ ## Donate
143
+
144
+ DPlayer is an MIT licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.
145
+
146
+ You can support DPlayer via donations.
147
+
148
+ ### Recurring Donation
149
+
150
+ - Become a Sponser on [GitHub](https://github.com/sponsors/DIYgod)
151
+ - Become a Sponser on [Patreon](https://www.patreon.com/DIYgod)
152
+ - Become a Sponser on [爱发电](https://afdian.net/@diygod)
153
+ - Contact us directly: i@diygod.me
154
+
155
+ ### One-time Donation
156
+
157
+ We accept donations via the following ways:
158
+
159
+ - [WeChat Pay](https://diygod.me/images/wx.jpg)
160
+ - [Alipay](https://diygod.me/images/zfb.jpg)
161
+ - [Paypal](https://www.paypal.me/DIYgod)
162
+
163
+ ## Author
164
+
165
+ **DPlayer** © [DIYgod](https://github.com/DIYgod), Released under the [MIT](./LICENSE) License.<br>
166
+ Authored and maintained by DIYgod with help from contributors ([list](https://github.com/DIYgod/DPlayer/contributors)).
167
+
168
+ > [Blog](https://diygod.me) · GitHub [@DIYgod](https://github.com/DIYgod) · Twitter [@DIYgod](https://twitter.com/DIYgod) · Telegram Channel [@awesomeDIYgod](https://t.me/awesomeDIYgod)