小 |
小 |
||
第1行: | 第1行: | ||
<includeonly><htmltag tagname="iframe" src="//player.bilibili.com/player.html?bvid={{{bv|}}}&autoplay={{{autoplay|0}}}&t={{{t|0}}}&poster={{{poster|1}}}" width="{{{width| | <includeonly><htmltag tagname="iframe" src="//player.bilibili.com/player.html?bvid={{{bv|}}}&autoplay={{{autoplay|0}}}&t={{{t|0}}}&poster={{{poster|1}}}" width="{{{width|328}}}" height="{{{height|184.5}}}" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></htmltag></includeonly><noinclude>{{模板说明}}[[分类:格式模板]]</noinclude> |
2023年12月18日 (一) 23:35的最新版本
参数|bv=
控制bv号,必填。
参数|autoplay=
控制是否自动播放,可选值为参数0
和1
,默认值为0
,推荐不填。
参数|t=
控制视频开始的时间点,默认值为0
。
参数|poster=
控制是否在播放前抓取视频的封面,可选值为参数0
和1
,默认值为1
。
参数|width=
和|height=
控制视频窗口的宽和高,默认为328
和184.5
案例
{{B站视频|bv=BV16G4y1p7FP}}
生成:
以上文档来自模板:B站视频/文档。 (编辑 | 历史)