
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
openBSE 是一个高性能 JavaScript 弹幕引擎。同屏弹幕1000+ A high-performance JavaScript bullet screen (danmaku) engine.
English Version | wiki | Demo | Docs
高性能 JavaScript 弹幕引擎。同屏弹幕1000+
一个高性能 JavaScript 弹幕引擎,简单易用。支持 CSS3 、 Canvas 2D 、 WebGL 和 SVG 渲染方式。支持顶部、底部、逆向弹幕渲染。使用 Canvas 2D 渲染方式可同屏渲染至少1000条弹幕(可达1600条,与电脑配置有关)。
你可以直接点击这里下载最新发行版本,也可以用以下命令安装NPM包。
> npm install openbse
安装完成后,在 Html 页面引入。
压缩版:
<script src="openBSE.all.min.js"></script>
调试版:
<script src="openBSE.all.js"></script>
添加一个 id 为 BulletScreensDiv 的固定大小的 div 标签用于显示弹幕,并插入以下 JavaScript 代码。
var bulletScreenEngine = new openBSE.BulletScreenEngine(document.getElementById('BulletScreensDiv'));
var _startTime = 5000;
for (var i = 0; i < 10000; i++) {
bulletScreenEngine.addBulletScreen({
text: "这是一个长长长长长长长长长长长长长长长长长长长长长长长长的测试(^_^)",
startTime: _startTime
});
_startTime += Math.round(Math.random() * 300);
}
bulletScreenEngine.play();
用浏览器打开网页即可显示弹幕。
详细使用说明请查看 wiki 。
如果有任何问题请写下 issues 。
E-mail:scottxu@scottxublog.com
这个项目是一个开源项目,遵循 MIT 开源协议。要查看协议,请点击这里。
FAQs
openBSE 是一个高性能 JavaScript 弹幕引擎。同屏弹幕1000+ A high-performance JavaScript bullet screen (danmaku) engine.
The npm package openbse receives a total of 18 weekly downloads. As such, openbse popularity was classified as not popular.
We found that openbse demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.