Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“播放前显示封面”会导致视频暂停时也总是显示封面 #3974

Closed
GalaxySnail opened this issue Feb 8, 2023 · 6 comments
Closed
Labels
bug bug

Comments

@GalaxySnail
Copy link

对应功能

播放前显示封面

问题描述

如题。因为刚发布了新版本脚本,我不确定是新版本导致的 #3698 的回归,还是B站播放器更新导致的新问题。

脚本版本

v2.6.1-preview

脚本管理器及版本

Tampermonkey v4.18.1

浏览器及版本

chromium 109.0.5414.75 (正式版本) (64 位)

播放器版本

3.26.2-af11cc59

播放策略

AVC

错误信息

没有 Bilibili Evolved 输出的日志

附加截图

No response

@Yun-Shan
Copy link

Yun-Shan commented Feb 9, 2023

应该是这个commit导致的 ed8d16b

document.documentElement.style.setProperty('--cover-url', `url('${info.coverUrl}')`)

添加封面变量的元素改成了documentElement,但是移除封面变量的元素漏改了还是body,导致实际上没有移除封面
const removeCover = () => document.body.style.removeProperty('--cover-url')

作为作者修复前的临时解决方案,可以进入油猴脚本管理页面,然后点击编辑脚本,选择"存储"tab,将里面的内容全部复制到文本编辑器(因为油猴这里没提供搜索功能),然后搜索body.style.removeProperty(\"--cover-url\"),将body改为documentElement,然后复制回去点击保存即可

@seiuneko
Copy link

seiuneko commented Feb 9, 2023

暴力猴 v2.13.9 编辑后无法保存,这里是自行编译的组件:
show-cover.js

@the1812 the1812 closed this as completed Feb 9, 2023
@FrankHB
Copy link

FrankHB commented Jun 18, 2023

前些天是第一次暂停会出现问题之后正常,过了几天又是每次会重现,现在看了下 v2.7.2-53-g97c6184e1 还是有这个问题,直接关了算了……

@HowieHz
Copy link

HowieHz commented Jul 27, 2023

这毛病还是存在,只能关掉了

@Mr-EEEeee
Copy link

bug依旧存在

@GalaxySnail
Copy link
Author

我这里自从2月修复以后就再没出现过,所以你们反馈的问题可能是另外一个问题导致的。在一个被关掉的 issue 里跟帖不容易被注意到,我建议可以重新开一个 issue,在其中附上你的系统环境信息以及报错信息(如果有报错的话)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug
Projects
None yet
Development

No branches or pull requests

7 participants