Diferencia entre revisiones de «Widget:SlideShare»

De Casiopea
Sin resumen de edición
Sin resumen de edición
(No se muestran 23 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
<noinclude>
<noinclude>__NOTOC__
This widget allows you to add [http://www.slideshare.net/ SlideShare] slideshows to your wiki page. It replaces original [[mediawikiwiki:Extension:SlideShare|SlideShare]] extension.
== Cómo usar este Widget ==
 
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.techpresentations.org TechPresentations.org].
 
To insert this widget, use the following code:


<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
Para incrustar una presentación de SlideShare debes escribir un código con el siguiente formato:
|doc=semantic-media-wiki-semantic-forms-1205504882436734-4
|width=425
|height=348
}}</nowiki>


Width and hight are optional, 425x348 is a default. "doc" is a parameter from embed code they give. There is also 'player' parameter that defaults to '2' and allows you to switch to other players.
<pre>
<nowiki>
{{#widget:SlideShare
|id=DQgqXoQMLfpAKL
|width=800
|height=600
}}
</nowiki>
</pre>


{{Template:Copy to your site}}
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:
== Sample result ==
{{#widget:{{PAGENAME}}|doc=semantic-media-wiki-semantic-forms-1205504882436734-4}}
</noinclude>
<noinclude>__NOTOC__
This widget allows you to add [http://www.slideshare.net/ SlideShare] slideshows to your wiki page. It replaces original [[mediawikiwiki:Extension:SlideShare|SlideShare]] extension.


It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.techpresentations.org TechPresentations.org].
{{#widget:SlideShare
|id=DQgqXoQMLfpAKL
|width=800
|height=600
}}


== Using this widget ==
== Parametros ==
For information on how to use this widget, see [http://www.mediawikiwidgets.org/SlideShare widget description page on MediaWikiWidgets.org].
* '''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 ipción ''iframe''.
* '''width''' & '''height''' - son opcionales, 425x348 es el formato predeterminado si no se definen


== Copy to your site ==
</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>
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
</noinclude><includeonly><object width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$height|default:355|escape:'html'}-->"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer<!--{$player|default:2|escape:'html'}-->.swf?doc=<!--{$doc|escape:'urlpathinfo'}--><!--{if isset($norelated)}-->&rel=0<!--{/if}--><!--{if isset($start)}-->&startSlide=<!--{$start|escape:'urlpathinfo'|validate:int}--><!--{/if}-->" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed  src="http://static.slidesharecdn.com/swf/ssplayer<!--{$player|default:2|escape:'html'}-->.swf?doc=<!--{$doc|escape:'urlpathinfo'}-->" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$height|default:355|escape:'html'}-->"></embed></object></includeonly>

Revisión del 07:02 19 dic 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=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 ipción iframe.
  • width & height - son opcionales, 425x348 es el formato predeterminado si no se definen