remove player object

This commit is contained in:
zhw2590582 committed 2022-01-07 17:38:10 +08:00
1 parent 59a8ccce81
commit 59400eb3bf
58 files changed
+295 -313

No files matched your search

+1 -2
View File
@@ -9,13 +9,12 @@ export default function fullscreen(option) {
events: { proxy },
icons,
i18n,
player,
} = art;
append($control, icons.fullscreen);
proxy($control, 'click', () => {
player.fullscreen = !player.fullscreen;
art.fullscreen = !art.fullscreen;
});
art.on('fullscreen', (value) => {