mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 06:26:16 -08:00
调整弹幕样式
This commit is contained in:
1 parent
8b28148cc6
commit
cd9c897c30
4 files changed
+13
-9
No files matched your search
@@ -1,3 +1,4 @@
|
||||
// 使用 Github Issues Api 做弹幕接口
|
||||
// 接口每小时限制 5000 次请求,勿滥用
|
||||
var github = new ArtplayerToolGithub({
|
||||
api: 'zhw2590582/github-issues-api-as-danmuku/issues/1',
|
||||
@@ -41,6 +42,7 @@ var art = new Artplayer({
|
||||
art.plugins.artplayerPluginDanmu.emit({
|
||||
...data,
|
||||
time: art.player.currentTime,
|
||||
border: data.color,
|
||||
});
|
||||
}).catch(() => {
|
||||
art.notice.show(`发送弹幕失败: ${github.remaining} / ${github.limit}`);
|
||||
|
||||
Reference in new issue
Block a user