mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:23:18 -08:00
update artplayerPluginControl
This commit is contained in:
1 parent
692a43e4ec
commit
5421ccc9d6
3 files changed
+7
-4
No files matched your search
@@ -21,10 +21,12 @@ export default function artplayerPluginControl() {
|
||||
const {
|
||||
template: { $bottom, $player },
|
||||
constructor: {
|
||||
utils: { append, secondToTime, addClass, removeClass, hasClass },
|
||||
utils: { append, secondToTime, addClass, removeClass, hasClass, isMobile },
|
||||
},
|
||||
} = art;
|
||||
|
||||
if (isMobile) return;
|
||||
|
||||
const className = 'artplayer-plugin-control';
|
||||
addClass($player, className);
|
||||
|
||||
|
||||
Reference in new issue
Block a user