update miniMix.js

This commit is contained in:
zhw2590582 committed 2022-01-07 22:41:32 +08:00
1 parent 8df2297faf
commit e4500ef49c
4 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -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",
+2
View File
@@ -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');
}
},