xgplayer icon indicating copy to clipboard operation
xgplayer copied to clipboard

mode值为top时不显示弹幕,自动添加了visibility: hidden;样式

Open startjava opened this issue 1 year ago • 1 comments

"name": "xgplayer", "version": "3.0.14"

我的测试代码:

const comments = [{
                duration: 10000,
                id: 1,
                start: 1000,
                txt: "我是弹幕1",
                mode: "top"
            }, {
                duration: 10000,
                id: 2,
                start: 2000,
                txt: "我是弹幕2",
                mode: "scroll"
            }, {
                duration: 10000,
                id: 3,
                start: 3000,
                txt: "我是弹幕3",
                mode: "bottom"
            }
            ];

            let player = new Player({
                id: 'xgplayerDiv',
                url: '../xgplayer-demo-720p.mp4',
                height: '100%',
                width: '100%',
                plugins: [Danmu],
                danmu: {
                    comments: comments
                }
            });

startjava avatar Apr 09 '24 06:04 startjava

@hongqx

startjava avatar Apr 09 '24 07:04 startjava

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Jul 08 '24 10:07 github-actions[bot]

This issue has been automatically closed after a period of inactivity. If it is still present in the latest release, please create a new issue with up-to-date information. Thank you!

github-actions[bot] avatar Aug 07 '24 10:08 github-actions[bot]