Pixelrat (обсуждение | вклад) м (Защитил страницу Widget:Vimeo ([Редактирование=Разрешено только администраторам] (бессрочно) [Переименование=Разрешено только администрато…) |
Pixelrat (обсуждение | вклад) |
||
| Строка 4: | Строка 4: | ||
|height= | |height= | ||
}}</pre>[[Категория:Виджеты]] | }}</pre>[[Категория:Виджеты]] | ||
| − | </noinclude><includeonly><iframe src="https://player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->" width="<!--{$width|default:392|validate:int|escape:'html'}-->" height="<!--{$height|default:220|validate:int|escape:'html'}-->" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe></includeonly> | + | </noinclude><includeonly><div class="lazyload-youtube" style="width:<!--{$width|default:392|validate:int|escape:'html'}-->px;height:<!--{$height|default:220|validate:int|escape:'html'}-->px;cursor: pointer;"> |
| + | <div class="lazyload-thumbnail"> | ||
| + | <!-- | ||
| + | <div style="width:<!--{$width|default:392|validate:int|escape:'html'}-->px;height:<!--{$height|default:220|validate:int|escape:'html'}-->px;overflow: hidden; background: url(static/vimeo_preview.png) center center; background-size: cover;""></div> | ||
| + | <div class="play" style="width: 64px !important;height: 64px !important;position: relative;top: -50%;left: 50%;margin-top: -32px;margin-left: -32px;"></div> | ||
| + | --> | ||
| + | </div> | ||
| + | <!-- | ||
| + | <div class="lazyload-youtube" style="padding-bottom:0px;"> | ||
| + | <iframe src="https://player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->" width="<!--{$width|default:392|validate:int|escape:'html'}-->" height="<!--{$height|default:220|validate:int|escape:'html'}-->" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe> | ||
| + | </div> | ||
| + | --> | ||
| + | </div></includeonly> | ||
Версия 20:56, 15 февраля 2020
{{#widget:Vimeo
|id=
|width=
|height=
}}