Diferencia entre revisiones de «Widget:SlideShare»
De Casiopea
Sin resumen de edición |
Sin resumen de edición |
||
Línea 15: | Línea 15: | ||
</pre> | </pre> | ||
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 | ||
Línea 29: | Línea 22: | ||
|height=600 | |height=600 | ||
}} | }} | ||
== Parametros == | |||
* '''id''' - es el identificador de la diapositiva, en este caso "nZkfZ9YQdzHfZz" | |||
* '''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> | </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 del 12:56 19 jul 2018
Cómo usar este Widget
Para incrustar una presentación de SlideShare debes escribir un código con el siguiente formato:
{{#widget:SlideShare |id=nZkfZ9YQdzHfZz |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"
- width & height - son opcionales, 425x348 es el formato predeterminado si no se definen