Difference between revisions of "Template:VideoBox"
From ALttP Speedrunning Wiki
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{#css: | {{#css: | ||
.videobox { | .videobox { | ||
− | + | display: inline-block; | |
− | + | vertical-align: top; | |
− | + | margin-right: 12px; | |
− | + | margin-top: 12px; | |
− | + | border: 1px solid #eaeaea; | |
− | + | background: #f8f9fa; | |
− | |||
} | } | ||
.videobox .title { | .videobox .title { | ||
− | + | font-weight: bold; | |
− | + | padding-left: 8px; | |
− | + | padding-right: 8px; | |
+ | } | ||
+ | |||
+ | .videobox video { | ||
+ | width: 100%; | ||
} | } | ||
.videobox .description { | .videobox .description { | ||
− | + | font-size: 0.85em; | |
− | + | padding-left: 8px; | |
− | + | padding-right: 8px; | |
} | } | ||
Line 26: | Line 29: | ||
text-align: right; | text-align: right; | ||
} | } | ||
− | }} | + | }}<div class="videobox" style="width: {{{width|380}}}px; float:{{{float|none}}};"> |
− | + | <p class="title">{{{title|}}}{{#if: {{{time|}}} | <span class="time" title="mins:secs'frames">{{{time}}}</span> }}</p> | |
− | <div class="videobox"> | + | <html5media loop muted>{{{file}}}</html5media> |
− | <p class="title">{{{title| | + | <p class="description">{{{description|{{{caption|}}}}}} |
− | <html5media | + | <span style="float:right;">[[:{{{file}}}|File]]</span> |
− | <p class="description">{{{description| | + | <span style="display:none;">[[{{{file}}}|link=|0x0px]]</span><!--- to have file usage working ---> |
+ | </p> | ||
</div> | </div> |
Latest revision as of 10:52, 16 May 2019
Html5mediator: not a valid URL
[[:{{{file}}}|File]]