mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-30 03:51:25 -08:00
update
This commit is contained in:
1 parent
b80a30bcc0
commit
5e9057f060
12 files changed
+98
-285
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import i18n from './i18n';
|
||||
import { opacity, size, speed, synchronousPlayback } from './setting';
|
||||
import { filter, getRect, getDanmuRef } from './utils';
|
||||
import { bilibiliDanmuParseFromUrl } from './bilibili';
|
||||
import getDanmuTop from './getDanmuTop';
|
||||
@@ -7,10 +6,6 @@ import getDanmuTop from './getDanmuTop';
|
||||
export default class Danmuku {
|
||||
constructor(art, option) {
|
||||
art.i18n.update(i18n);
|
||||
art.setting.add(opacity);
|
||||
art.setting.add(size);
|
||||
art.setting.add(speed);
|
||||
art.setting.add(synchronousPlayback);
|
||||
this.art = art;
|
||||
this.queue = [];
|
||||
this.option = {};
|
||||
|
||||
Reference in new issue
Block a user