No edit summary |
(update from widget wiki page, fix interwiki prefix; layout instructions) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This widget allows you to add [http://www.slideshare.net/ SlideShare] slideshows to your wiki page. It replaces original [[ | This widget allows you to add [http://www.slideshare.net/ SlideShare] slideshows to your wiki page. It replaces original [[mw:Extension:SlideShare|SlideShare]] extension. | ||
It was originally created by [[ | It was originally created by [[mw:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.techpresentations.org TechPresentations.org]. | ||
== Using this widget == | |||
For information on how to use this widget, see [http://www.mediawikiwidgets.org/SlideShare widget description page on MediaWikiWidgets.org]. | |||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
Line 12: | Line 15: | ||
}}</nowiki> | }}</nowiki> | ||
Width and height are optional, 425x348 is a default. | '''Width and height''' are optional, 425x348 is a default. | ||
'''doc''' is a parameter from embed code they give - click embed on slideshare and look in the code for the video parameter. | |||
There is also '''player''' parameter that defaults to '2' and allows you to switch to other players. | |||
== Sample result == | == Sample result == | ||
{{#widget:{{PAGENAME}}|doc=studentsandappropedia-100308231424-phpapp02}} | {{#widget:{{PAGENAME}}|doc=studentsandappropedia-100308231424-phpapp02}} | ||
</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'}-->" /><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> | </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> |
Revision as of 11:31, 10 September 2012
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.
To insert this widget, use the following code:
{{#widget:SlideShare |doc=semantic-media-wiki-semantic-forms-1205504882436734-4 |width=425 |height=348 }}
Width and height are optional, 425x348 is a default.
doc is a parameter from embed code they give - click embed on slideshare and look in the code for the video parameter.
There is also player parameter that defaults to '2' and allows you to switch to other players.
Sample result