Fix bwp video detection (fix #3131)

This commit is contained in:
the1812 2022-03-17 19:41:06 +08:00
parent 13d72cb382
commit 08a94aa705

View File

@ -73,7 +73,7 @@ export const isBwpVideo = async () => {
return false
}
// eslint-disable-next-line no-underscore-dangle
return unsafeWindow.__ENABLE_WASM_PLAYER__ as boolean || Boolean(dq('bwp-video'))
return unsafeWindow.__ENABLE_WASM_PLAYER__ as boolean || Boolean(dq('#bilibili-player bwp-video'))
}
/**
*