From e27e7d0ee68833a81245a32bb4c18040fb197e2e Mon Sep 17 00:00:00 2001 From: the1812 Date: Sun, 21 Nov 2021 14:08:33 +0800 Subject: [PATCH] Exclude embedded player (#2540) --- src/core/utils/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/utils/index.ts b/src/core/utils/index.ts index bc54af55b..b714143d3 100644 --- a/src/core/utils/index.ts +++ b/src/core/utils/index.ts @@ -315,6 +315,9 @@ export const playerReady = async () => { */ return } + if (isEmbeddedPlayer()) { + return + } if (unsafeWindow.onLoginInfoLoaded) { unsafeWindow.onLoginInfoLoaded(resolve) } else {