Diferencia entre revisiones de «Widget:SlideShare»

De Casiopea
Línea 14: Línea 14:
 
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.
 
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 ==
 
== Sample result ==
 
{{#widget:{{PAGENAME}}|doc=semantic-media-wiki-semantic-forms-1205504882436734-4}}
 
{{#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>
+
</noinclude><includeonly><object style="margin:0px" width="<!--{$width|default:835|escape:'html'}-->" height="<!--{$height|default:400|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 15:57 24 mar 2015

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.

To insert this widget, use the following code:

{{#widget:SlideShare
|doc=semantic-media-wiki-semantic-forms-1205504882436734-4
|width=425
|height=348
}}

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.

Sample result