mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
优化字幕结构
This commit is contained in:
1 parent
3965132252
commit
9f2038539e
12 files changed
+137
-257
No files matched your search
@@ -2,11 +2,8 @@ export default class Storage {
|
||||
constructor(art) {
|
||||
this.art = art;
|
||||
this.name = 'artplayer_settings';
|
||||
this.init();
|
||||
}
|
||||
const { option } = art;
|
||||
|
||||
init() {
|
||||
const { option } = this.art;
|
||||
const volume = this.get('volume');
|
||||
if (volume) {
|
||||
option.volume = volume;
|
||||
|
||||
Reference in new issue
Block a user