Exclude embedded player (#2540)

This commit is contained in:
the1812 2021-11-21 14:08:33 +08:00
parent d7189af8a8
commit e27e7d0ee6

View File

@ -315,6 +315,9 @@ export const playerReady = async () => {
*/
return
}
if (isEmbeddedPlayer()) {
return
}
if (unsafeWindow.onLoginInfoLoaded) {
unsafeWindow.onLoginInfoLoaded(resolve)
} else {