Diferencia entre revisiones de «Widget:SlideShare»

De Casiopea
Sin resumen de edición
Sin resumen de edición
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.
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].
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:
== Using this widget ==
For information on how to use this widget, see [http://www.mediawikiwidgets.org/SlideShare widget description page on MediaWikiWidgets.org].


<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
== Copy to your site ==
|doc=semantic-media-wiki-semantic-forms-1205504882436734-4
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.
|width=425
</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>
|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.
 
{{Template:Copy to your site}}
== Sample result ==
{{#widget:{{PAGENAME}}|doc=semantic-media-wiki-semantic-forms-1205504882436734-4}}
</noinclude><includeonly><object style="margin:0px" width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$height|default:348|escape:'html'}-->"><param name="movie" value="http://static.slideshare.net/swf/ssplayer<!--{$player|default:2|escape:'html'}-->.swf?doc=<!--{$doc|escape:'urlpathinfo'}-->"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slideshare.net/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:348|escape:'html'}-->"></embed></object></includeonly>

Revisión del 23:19 16 mar 2014

This widget allows you to add SlideShare slideshows to your wiki page. It replaces original SlideShare extension.

It was originally created by Sergey Chernyshev for TechPresentations.org.

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:SlideShare article.