关于哔哩哔哩的弹幕
2个回答
展开全部
弹幕代码 你看的这个视频是教怎么做高级弹幕代码的
function setWorldLine(cmt){ var
gf1=$.createGlowFilter(0x0080FF,0.9,16,16,2,1,false,false); var cmtf =
cmt.getTextFormat(0,1);cmtf.bold=false;cmt.setTextFormat(cmtf,0,1);cmt.filters=[gf1];}cmt_1
=
$.createComment("字幕",{x:1,y:340,color:0xffffff,lifeTime:0,fontsize:28,motionGroup:[{alpha:
{fromValue:0,toValue:0.85,lifeTime:0.2},x:{fromValue:25,toValue:100,lifeTime:1}},{x:{fromValue:100,toValue:175,lifeTime:1}},{alpha:
{fromValue:1,toValue:0.2,lifeTime:1},x:{fromValue:1,toValue:1000,lifeTime:0}}]});setWorldLine(cmt_1);
比如这样一段 技术宅干的活 咱不懂
function setWorldLine(cmt){ var
gf1=$.createGlowFilter(0x0080FF,0.9,16,16,2,1,false,false); var cmtf =
cmt.getTextFormat(0,1);cmtf.bold=false;cmt.setTextFormat(cmtf,0,1);cmt.filters=[gf1];}cmt_1
=
$.createComment("字幕",{x:1,y:340,color:0xffffff,lifeTime:0,fontsize:28,motionGroup:[{alpha:
{fromValue:0,toValue:0.85,lifeTime:0.2},x:{fromValue:25,toValue:100,lifeTime:1}},{x:{fromValue:100,toValue:175,lifeTime:1}},{alpha:
{fromValue:1,toValue:0.2,lifeTime:1},x:{fromValue:1,toValue:1000,lifeTime:0}}]});setWorldLine(cmt_1);
比如这样一段 技术宅干的活 咱不懂
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询