Widget:Vimeo: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
m (Text replacement - "'''gallery''', '''thumb''', '''left''', '''right''', '''center''', '''caption'''" to "'''thumb''', '''left''', '''right''', '''center''', '''gallery''', '''caption'''")
Line 1: Line 1:
<noinclude>This widget allows you to embed Vimeo videos. Accepted parameters: '''id''' (required), '''hash''', '''time''', '''width''', '''height''', '''gallery''', '''thumb''', '''left''', '''right''', '''center''', '''caption'''.</noinclude><includeonly><!--{if isset($id)}-->
<noinclude>This widget allows you to embed Vimeo videos. Accepted parameters: '''id''' (required), '''hash''', '''time''', '''width''', '''height''', '''thumb''', '''left''', '''right''', '''center''', '''gallery''', '''caption'''.</noinclude><includeonly><!--{if isset($id)}-->
<div class="videoWidget <!--{if isset($gallery)}-->gallery<!--{/if}--> <!--{if isset($thumb)}-->thumb<!--{/if}--> <!--{if isset($right) || (isset($thumb) && !isset($left) && !isset($center))}-->tright<!--{else if isset($left)}-->tleft<!--{else}-->tnone<!--{/if}-->" style="<!--{if !isset($center)}-->display:inline-block;<!--{/if}--><!--{if isset($gallery)}-->vertical-align:top;margin-bottom:1em;<!--{/if}-->">
<div class="videoWidget <!--{if isset($gallery)}-->gallery<!--{/if}--> <!--{if isset($thumb)}-->thumb<!--{/if}--> <!--{if isset($right) || (isset($thumb) && !isset($left) && !isset($center))}-->tright<!--{else if isset($left)}-->tleft<!--{else}-->tnone<!--{/if}-->" style="<!--{if !isset($center)}-->display:inline-block;<!--{/if}--><!--{if isset($gallery)}-->vertical-align:top;margin-bottom:1em;<!--{/if}-->">
<div class="autoResize <!--{if isset($gallery)}-->gallerybox<!--{/if}--> <!--{if isset($thumb)}-->thumbinner<!--{/if}-->" style="width:<!--{if isset($gallery)}-->calc(<!--{/if}--><!--{if isset($width)}--><!--{($width+2)|escape:'html'|string_format:"%d"}--><!--{else if isset($height)}--><!--{($height*(16/9)+3)|string_format:"%d"}--><!--{else if isset($thumb)}-->202<!--{else}-->560<!--{/if}-->px<!--{if isset($gallery)}--> + 34px)<!--{/if}-->;<!--{if isset($center)}-->margin:0 auto;<!--{/if}-->">
<div class="autoResize <!--{if isset($gallery)}-->gallerybox<!--{/if}--> <!--{if isset($thumb)}-->thumbinner<!--{/if}-->" style="width:<!--{if isset($gallery)}-->calc(<!--{/if}--><!--{if isset($width)}--><!--{($width+2)|escape:'html'|string_format:"%d"}--><!--{else if isset($height)}--><!--{($height*(16/9)+3)|string_format:"%d"}--><!--{else if isset($thumb)}-->202<!--{else}-->560<!--{/if}-->px<!--{if isset($gallery)}--> + 34px)<!--{/if}-->;<!--{if isset($center)}-->margin:0 auto;<!--{/if}-->">

Revision as of 20:37, September 28, 2022

This widget allows you to embed Vimeo videos. Accepted parameters: id (required), hash, time, width, height, thumb, left, right, center, gallery, caption.