Материал из Chipwiki
Widget:Youtube: различия между версиями
м test2
мНет описания правки
 
Строка 7: Строка 7:
   <div class="lazyload-thumbnail">
   <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-color: #AAA; background: url(https://img.youtube.com/vi/<!--{$id|escape:'urlpathinfo'}-->/hqdefault.jpg) center center; background-size: cover; border-radius:10px;"></div>
<div style="width:<!--{$width|default:392|validate:int|escape:'html'}-->px;height:<!--{$height|default:220|validate:int|escape:'html'}-->px;overflow: hidden; background: url(https://img.youtube.com/vi/<!--{$id|escape:'urlpathinfo'}-->/hqdefault.jpg) center center #AAA; background-size: cover; border-radius:10px;"></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 class="play" style="width: 64px !important;height: 64px !important;position: relative;top: -50%;left: 50%;margin-top: -32px;margin-left: -32px;"></div>
-->
-->

Текущая версия от 14:57, 22 апреля 2025

{{#widget:Youtube
|id=
|width=
|height=
}}