mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
Merge branch 'master' of https://github.com/zhw2590582/artplayer
This commit is contained in:
commit
cdd125aa45
1 file changed
+1
-1
@@ -63,7 +63,7 @@ export default function aspectRatioMix(art, player) {
|
|||||||
value: () => {
|
value: () => {
|
||||||
const { aspectRatio } = $player.dataset;
|
const { aspectRatio } = $player.dataset;
|
||||||
if (aspectRatio) {
|
if (aspectRatio) {
|
||||||
player.aspectRatio(aspectRatio.split(':'));
|
player.aspectRatio(aspectRatio);
|
||||||
art.emit('aspectRatioReset');
|
art.emit('aspectRatioReset');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user