mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 01:21:20 -08:00
bugfix
This commit is contained in:
1 parent
d3d4114336
commit
e9c9fbc2c8
5 files changed
+7
-7
No files matched your search
@@ -17,7 +17,7 @@ export default function aspectRatioMix(art, player) {
|
||||
const ratioList = ['default', '4:3', '16:9'];
|
||||
errorHandle(ratioList.includes(ratio), `'aspectRatio' only accept ${ratioList.toString()} as parameters`);
|
||||
|
||||
if (!ratio || ratio === 'default') {
|
||||
if (ratio === 'default') {
|
||||
setStyle($video, 'width', null);
|
||||
setStyle($video, 'height', null);
|
||||
setStyle($video, 'padding', null);
|
||||
|
||||
Reference in new issue
Block a user