mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 10:56:15 -08:00
Update switchMix.js
This commit is contained in:
1 parent
2f9604c44a
commit
2c618bc7b4
1 file changed
+2
@@ -11,9 +11,11 @@ export default function switchMix(art) {
|
||||
art.notice.show = '';
|
||||
|
||||
art.once('video:error', reject);
|
||||
|
||||
art.once('video:loadedmetadata', () => {
|
||||
art.currentTime = currentTime;
|
||||
});
|
||||
|
||||
art.once('video:canplay', async () => {
|
||||
art.playbackRate = playbackRate;
|
||||
art.aspectRatio = aspectRatio;
|
||||
|
||||
Reference in new issue
Block a user