mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 05:41:20 -08:00
update
This commit is contained in:
1 parent
00150073b9
commit
6c8b8e188a
5 files changed
+17
-57
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user