模板:B站视频:修订间差异

来自骷髅女孩Wiki
Junchnzy
Junchnzy讨论 | 贡献 (创建页面,内容为“<includeonly><htmltag tagname="iframe" src="//player.bilibili.com/player.html?bvid={{{bv|1}}}&autoplay={{{autoplay|4}}}&t={{{t|5}}}&poster={{{poster|6}}}" width="{{{width|2}}}" height="{{{height|3}}}" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></htmltag></includeonly><noinclude>{{模板说明}}分类:格式模板</noinclude>”)
 
第1行: 第1行:
<includeonly><htmltag tagname="iframe" src="//player.bilibili.com/player.html?bvid={{{bv|1}}}&autoplay={{{autoplay|4}}}&t={{{t|5}}}&poster={{{poster|6}}}" width="{{{width|2}}}" height="{{{height|3}}}" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></htmltag></includeonly><noinclude>{{模板说明}}[[分类:格式模板]]</noinclude>
<includeonly><htmltag tagname="iframe" src="//player.bilibili.com/player.html?bvid={{{bv|}}}&autoplay={{{autoplay|0}}}&t={{{t|0}}}&poster={{{poster|1}}}" width="{{{width|330}}}" height="{{{height|185.63}}}" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></htmltag></includeonly><noinclude>{{模板说明}}[[分类:格式模板]]</noinclude>

2023年12月18日 (一) 23:04的版本

参数|bv=控制bv号,必填。

参数|autoplay=控制是否自动播放,可选值为参数01,默认值为0,推荐不填。

参数|t=控制视频开始的时间点,默认值为0

参数|poster=控制是否在播放前抓取视频的封面,可选值为参数01,默认值为1

参数|width=|height=控制视频窗口的宽和高,默认为328184.5

案例

{{B站视频|bv=BV16G4y1p7FP}}

生成: