DPlayer icon indicating copy to clipboard operation
DPlayer copied to clipboard

Danmaku will disappear earlier than expected/弹幕会提前消失

Open zzjjbb opened this issue 3 years ago • 1 comments

中文用户请注意:请尽量用英文描述你的 issue,这样能够让尽可能多的人帮到你。

The danmaku will disappear when its center point passes the left boundary.

例如 http://dplayer.js.org/ 的demo,弹幕在中心位置过了左侧边界就会消失。

个人认为一个简单的方案是让弹幕都移动120%,请问可行吗?

OS: Windows 10 Browser: Firefox 91.0a1

zzjjbb avatar Jun 05 '21 22:06 zzjjbb

研究了一下发现是这个函数宽度计算不正确,但是暂时没研究出来如何写可以兼容性更高

danmaku-width

zzjjbb avatar Jun 07 '21 01:06 zzjjbb

是Firefox本身的问题,新版本已经正常

zzjjbb avatar Sep 07 '22 02:09 zzjjbb