By RobElliott
Description
Embed powerpoint and other presentations from Slideshare in your wiki page. This solution puts the embed code inside html tags and then references that html code in an iframe. You will need a free account at Slideshare and will then need to upload your powerpoint presentation.
Code
html
First you need to put the embed code from Slideshare inside html within the <body> </body> tags as follows:
[!--
[[code type="html"]]
<html>
<head>
<title>Wiki</title>
</head>
<body>
<div style="width:425px;text-align:left" id="__ss_270855"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/infe/web-20-business-models-270855?type=presentation" title="Web 2.0 Business Models">Web 2.0 Business Models</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=web-20-business-models-1203370100297668-4&rel=0&stripped_title=web-20-business-models-270855" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=web-20-business-models-1203370100297668-4&rel=0&stripped_title=web-20-business-models-270855" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object><div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/infe">Teemu Arina</a>.</div></div>
</body>
</html>
[[/code]]
--]
iframe
Then add an iframe to reference the code above. If it is the first html codeblock on your page then you use code/1, if it's the second you put code/2 etc.
[[iframe http://strathviewconsultants.wikidot.com/support:presentations/code/1 frameborder="0" scrolling="no" width="425" height="400px"]]
In action
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by RobElliott
Sproutbuilder - 16 Feb 2012 01:44
Show A YouTube Video Saved On Your Page - 16 Feb 2012 01:41
PollDaddy - 16 Feb 2012 01:32
Mibbit - 16 Feb 2012 01:21
Jotform - 16 Feb 2012 01:14
Google Translate - 16 Feb 2012 01:06
Rate this solution
If you think this solution is useful — rate it up!
Not sure what has happened - I could only see the "no code block available…."
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
Alternative code would be:
This is just getting the src of embed tag in code from slideshare and using it as the iframe src parameter (+ some sugar).
Result:
Piotr Gabryjeluk
visit my blog
I have noticed that occasionally the second method doesn't display the presentation. I have no idea why and it doesn't seem to happen on every site or every time. It might just be something in browser cache settings.
Rob
Rob Elliott - Strathpeffer, Scotland - Wikidot first line support & community admin team.