This commit is contained in:
zhw2590582 committed 2021-11-28 09:30:43 +08:00
1 parent 00150073b9
commit 6c8b8e188a
5 files changed
+17 -57

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import { def } from '../utils';
export default function switchMix(art, player) {
const { i18n, notice } = art;
const { i18n, option, notice } = art;
function switchUrl(url, name, currentTime) {
if (url === player.url) return;
@@ -12,7 +12,7 @@ export default function switchMix(art, player) {
player.playbackRate = false;
player.aspectRatio = false;
player.flip = 'normal';
player.autoSize = true;
player.autoSize = option.autoSize;
player.currentTime = currentTime;
if (playing) {
player.play();