Diferencia entre revisiones de «Widget:SlideShare»

De Casiopea
 
(No se muestran 7 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
== Cómo usar este Widget ==
== Cómo usar este Widget ==


Línea 8: Línea 7:
<nowiki>
<nowiki>
{{#widget:SlideShare
{{#widget:SlideShare
|id=11965061
|id=DQgqXoQMLfpAKL
|width=800
|width=800
|height=600
|height=600
Línea 15: Línea 14:
</pre>
</pre>


y obtendrás un resultado:
La presentación debe tener los permisos definidos para permitir incrustarla (embed) en otros sitios. Con el código superior obtendrás el siguiente resultado:


{{#widget:SlideShare
{{#widget:SlideShare
|id=11965061
|id=DQgqXoQMLfpAKL
|width=800
|width=800
|height=600
|height=600
}}
}}
</noinclude>


<includeonly><iframe src="http://www.slideshare.net/slideshow/embed_code/<!--{$id|escape:'urlpathinfo'}-->?<!--{if isset($norelated)}-->&rel=0<!--{/if}--><!--{if isset($start)}-->&startSlide=<!--{$start|escape:'urlpathinfo'|validate:int}--><!--{/if}-->" width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$height|default:355|escape:'html'}-->" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px; max-width: 100%;" allowfullscreen></iframe></includeonly>
== Parametros ==
* '''id''' - es el identificador de la diapositiva, en este caso "nZkfZ9YQdzHfZz" que se obtiene luego de seleccionar "compartir" y extraer el código desde la opción ''iframe''.
* '''width''' & '''height''' - son opcionales, 425x348 es el formato predeterminado si no se definen
 
</noinclude><includeonly><iframe src="//www.slideshare.net/slideshow/embed_code/key/<!--{$id|escape:'urlpathinfo'}-->" width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$height|default:355|escape:'html'}-->" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe></includeonly>

Revisión actual - 17:00 17 mar 2020

Cómo usar este Widget

Para incrustar una presentación de SlideShare debes escribir un código con el siguiente formato:


{{#widget:SlideShare
|id=DQgqXoQMLfpAKL
|width=800
|height=600
}}

La presentación debe tener los permisos definidos para permitir incrustarla (embed) en otros sitios. Con el código superior obtendrás el siguiente resultado:

Parametros

  • id - es el identificador de la diapositiva, en este caso "nZkfZ9YQdzHfZz" que se obtiene luego de seleccionar "compartir" y extraer el código desde la opción iframe.
  • width & height - son opcionales, 425x348 es el formato predeterminado si no se definen