wechat-miniprogram / miniprogram-barrage Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
小程序错误日志如下
Cannot read property 'bullets' of undefined
TypeError: Cannot read property 'bullets' of undefined
at t.animationend (https://miniprogram_npm/miniprogram-barrage/index.js:760:25)
at it.onAnimationend (https://miniprogram_npm/miniprogram-barrage/index.js:213:28)
看了代码是tunnel不存在时,tunnel.bullets会报错。已提pr #3
小程序错误日志如下:
e.forEach is not a function. (In 'e.forEach((function(e){e.content=a(e.content,t.maxLength),t.addBullet2Tunnel(e)}))', 'e.forEach' is undefined)
addData@https://miniprogram_npm/miniprogram-barrage/index.js:602:10
https://miniprogram_npm/miniprogram-barrage/index.js:435:29
ready@https://miniprogram_npm/miniprogram-barrage/index.js:433:20
https://miniprogram_npm/miniprogram-barrage/index.js:425:13
请问能否支持自定义弹幕样式,我想给自己发的弹幕加上圆角边框,以和其他人发的弹幕区分开来
在弹幕数量比较少的时候,比如只有20条弹幕,两三秒弹幕就滚完了。如果需要重新循环的话需要再调用添加弹幕的方法进行循环,在弹幕数量是动态的情况下我并不知道添加弹幕的时机,或者有个弹幕滚动完毕的回调函数?
能否不配合video标签使用
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.