mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 13:56:15 -08:00
Refactor Artplayer class to update import path for Component
This commit is contained in:
1 parent
2db49bdede
commit
ed88c73ab2
4 files changed
+26
-15
No files matched your search
@@ -10,6 +10,7 @@ var art = new Artplayer({
|
||||
{
|
||||
width: 200,
|
||||
html: 'Subtitle',
|
||||
name: 'subtitle',
|
||||
tooltip: 'Bilingual',
|
||||
icon: '<img width="22" heigth="22" src="/assets/img/subtitle.svg">',
|
||||
selector: [
|
||||
@@ -83,6 +84,7 @@ var art = new Artplayer({
|
||||
await sleep(1000);
|
||||
art.setting.resize();
|
||||
await sleep(1000);
|
||||
art.setting.inactivate(art.setting.find('subtitle'));
|
||||
art.setting.remove('aspect-ratio');
|
||||
try {
|
||||
art.setting.remove('aspect-ratio2');
|
||||
|
||||
Reference in new issue
Block a user