Template:Otomads:修订间差异
跳转到导航
跳转到搜索
imported>ESU DMCA Agent 无编辑摘要 |
imported>ESU DMCA Agent 无编辑摘要 |
||
| (未显示同一用户的3个中间版本) | |||
| 第1行: | 第1行: | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> | ||
<includeonly>{{#if:{{{ | <includeonly>{{#if:{{{1|{{{av|}}}}}}|<div class="wikitable Otomads-video-container" data-aid="{{{1|{{{av|}}}}}}" data-page="{{{page|1}}}" data-pagename="{{{pagename|}}}" data-title="{{{title|}}}" data-height="{{#if:{{{height|}}}|{{{height|}}}|441}}" data-width="{{#if:{{{width|}}}|{{{width|}}}|665}}" data-autoplay="{{{autoplay|false}}}" data-subtitle="{{{subtitle|false}}}" data-t="{{{t|}}}><!-- | ||
--><div class="Otomads-title" style="text-align: center;"><span class="Otomads-widescreen">宽屏模式</span><span class="Otomads-toggle">显示视频</span></div><!-- | --><div class="Otomads-title" style="text-align: center;"><span class="Otomads-widescreen">宽屏模式</span><span class="Otomads-toggle">显示视频</span></div><!-- | ||
--><div class="Otomads-iframe-container"><div class="Otomads-iframe-overlay"></div></div><!-- | --><div class="Otomads-iframe-container"><div class="Otomads-iframe-overlay"></div></div><!-- | ||
--></div>{{#Widget:Otomads}}|}}</includeonly> | --></div>{{#Widget:Otomads}}|}}</includeonly> | ||
2019年4月25日 (四) 22:38的最新版本
[编辑] []
模板文档
Otomads 播放器模板
使用方法
{{Otomads|om1780|width=320|height=262}}
参数
om1780 为视频链接 https://otomads.com/v/om1780 的最后一节。 width 为视频宽度px height 为视频高度px
demo
宽屏模式显示视频
注意
本站不建议将视频宽度设为500以上,否则在手机上体验将会很糟糕。
| 以上的说明文档页面是包含自Template:Otomads/doc。(编辑 | 历史) 编辑者可以到此模板的沙盒 (创建) 以及 测试用例 (创建) 页面进行实验 请到/doc子页面里增添分类以及跨维基链接。 此模板的子页面。 |