mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
使得--cover-url正确的被移除
This commit is contained in:
parent
74cf834296
commit
267b7248b6
@ -5,7 +5,7 @@ import { playerUrls } from '@/core/utils/urls'
|
||||
|
||||
const entry = async () => {
|
||||
let lastAid: string
|
||||
const removeCover = () => document.body.style.removeProperty('--cover-url')
|
||||
const removeCover = () => document.documentElement.style.removeProperty('--cover-url')
|
||||
const videoPrototype = (await isBwpVideo()) ? BwpElement.prototype : HTMLVideoElement.prototype
|
||||
// bpx player 改了 video.play(), hook 直接挂 HTMLVideoElement.prototype 上没效果 (#3698)
|
||||
const bpxPlayer = dq('.bpx-player-video-wrap')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user