- 由于是实时弹幕,所以需要时时刻刻读取数据库内容,可是大量的ajax请求会影响服务器性能。于是就使用了goeasy第三方实时消息推送框架。 - 弹幕的动态化可以使用jquery的animate动画来实现 - 至于把弹幕消息发送到数据库就更简单了 ,随便一个请求就可以了 - 最重要的就是视频插件了,这这里我使用的是ckplayer网页视频播放器,觉得很简单实用。 - 还有一点就是显示数据库中的弹幕,由于goeasy只能接收实时弹幕,所以需要通过ckplayer来获得当前视频的播放时间。具体实现是,在视频播放之前使用Ajax请求读取数据中的所有弹幕并保存在一个集合里面(按弹幕时间排序),在视频播放时,轮询集合,当前视频播放的时间和弹幕时间对比即可。
☆12Nov 1, 2018Updated 7 years ago
Alternatives and similar repositories for danMu
Users that are interested in danMu are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- ☆13Jun 2, 2023Updated 3 years ago
- ☆11Feb 5, 2024Updated 2 years ago
- PyTorch Implementation for UrbanVLP-AAAI2025.☆13Feb 21, 2025Updated last year
- 微信弹幕 Firefox 插件☆13Jun 8, 2016Updated 10 years ago
- 实战SpringCloud组件配置管理、服务治理、断路器、智能路由、微代理、控制总线、全局锁、决策竞选、分布式会话、集群状态管理☆14Oct 9, 2017Updated 9 years ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- [毕设]日志ETL,然后构建离线数据仓库,将业务指标基于django前端web展示。☆15Jun 21, 2019Updated 7 years ago