subtitle button; subtitle events
This commit is contained in:
+4
-2
@@ -6,13 +6,15 @@ class User {
|
||||
opacity: 'dplayer-danmaku-opacity',
|
||||
volume: 'dplayer-volume',
|
||||
unlimited: 'dplayer-danmaku-unlimited',
|
||||
danmaku: 'dplayer-danmaku-show'
|
||||
danmaku: 'dplayer-danmaku-show',
|
||||
subtitle: 'dplayer-subtitle-show'
|
||||
};
|
||||
this.default = {
|
||||
opacity: 0.7,
|
||||
volume: player.options.volume || 0.7,
|
||||
unlimited: (player.options.danmaku && player.options.danmaku.unlimited ? 1 : 0) || 0,
|
||||
danmaku: 1
|
||||
danmaku: 1,
|
||||
subtitle: 1
|
||||
};
|
||||
this.data = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user