Skip to content

[组件-播放时自动关灯][播放器位置动作] fix - #5757

Open
WhiteTeal55 wants to merge 8 commits into
the1812:preview-fixesfrom
WhiteTeal55:fix/5125
Open

[组件-播放时自动关灯][播放器位置动作] fix#5757
WhiteTeal55 wants to merge 8 commits into
the1812:preview-fixesfrom
WhiteTeal55:fix/5125

Conversation

@WhiteTeal55

@WhiteTeal55 WhiteTeal55 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

播放时自动关灯

  • 所有开关灯动作等待播放器就绪后执行,修复过早调用关灯 API 触发页面自动刷新的问题 自动关灯功能运行异常 #5125
  • 事件改为在 document 上捕获监听,限定主播放器挂载点,避免视频元素被替换后监听失效;兼容课堂页
  • 星光动画通过 playerLightChange 事件同步灯光状态,兼容手动 / 其他组件的关灯模式更改
  • 修复星光动画循环结尾的粒子瞬移;挂载位置改为 .bpx-docker-major,防止遮挡番剧页播放器和顶栏

播放器位置动作

@WhiteTeal55 WhiteTeal55 changed the title [组件-播放时自动关灯] fix: 兼容自动播放; 兼容番剧页 [组件-播放时自动关灯] fix: 各种逻辑修复 Sep 1, 2026
@WhiteTeal55
WhiteTeal55 marked this pull request as draft September 1, 2026 22:10
@WhiteTeal55 WhiteTeal55 changed the title [组件-播放时自动关灯] fix: 各种逻辑修复 [组件-播放时自动关灯][播放器位置动作] fix Sep 1, 2026
@WhiteTeal55
WhiteTeal55 marked this pull request as ready for review September 2, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant