mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 05:41:20 -08:00
update miniMix.js
This commit is contained in:
1 parent
8df2297faf
commit
e4500ef49c
4 files changed
+6
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "artplayer",
|
||||
"version": "4.2.1",
|
||||
"version": "4.2.2",
|
||||
"expose": "Artplayer",
|
||||
"description": "ArtPlayer.js is a modern and full featured HTML5 video player",
|
||||
"main": "dist/artplayer.js",
|
||||
|
||||
@@ -79,6 +79,7 @@ export default function miniMix(art) {
|
||||
}
|
||||
art.aspectRatio = false;
|
||||
art.playbackRate = false;
|
||||
art.notice.show = '';
|
||||
art.emit('mini', true);
|
||||
} else {
|
||||
$player.style.cssText = cacheStyle;
|
||||
@@ -88,6 +89,7 @@ export default function miniMix(art) {
|
||||
art.aspectRatio = false;
|
||||
art.playbackRate = false;
|
||||
art.autoSize = option.autoSize;
|
||||
art.notice.show = '';
|
||||
art.emit('mini');
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user