Diferencia entre revisiones de «Plantilla:YouTube»

De FSF
Sin resumen de edición
Sin resumen de edición
Línea 1: Línea 1:
<noinclude>
<noinclude>
Plantilla YouTube PRO – ED (Soporta Shorts)
Plantilla YouTube – ED (Control manual)


Uso:
Uso:
Línea 11: Línea 11:
}}
}}
</noinclude>
</noinclude>
{{#switch:{{{align|right}}}
|left=float:left; margin:0 20px 15px 0;
|#default=float:right; margin:0 0 15px 20px;
}}


<div style="{{#switch:{{{align|right}}}
<div style="{{#switch:{{{align|right}}}
Línea 28: Línea 23:


{{#ifeq:{{{tipo|normal}}}|short
{{#ifeq:{{{tipo|normal}}}|short
  |<div style="position:relative; padding-bottom:177%; height:0; overflow:hidden;">
  |{{#ev:youtube|{{{id}}}|260}}
    <iframe
  |{{#ev:youtube|{{{id}}}|360}}
      src="https://www.youtube.com/embed/{{{id}}}"
      style="position:absolute; top:0; left:0; width:100%; height:100%;"
      frameborder="0"
      allowfullscreen>
    </iframe>
  </div>
  |{{#ev:youtube|{{{id}}}|{{{ancho|360}}}}}
}}
}}



Revisión del 18:57 23 mar 2026

Plantilla YouTube – ED (Control manual)

Uso:



EmbedVideo; falta un parámetro requerido.




Provided ID could not be validated.