Hacking SlideShare’s embed adding a preview and be a lot shorter and readableThursday, April 17th, 2008 at 11:26 pm
There is a bug in the script (see comments) but somehow Googlecode does not allow me to edit my own file. I will fix it once I got around that issue.
As readers of this blog know, I am a big fan of SlideShare as a distribution platform for my presentation slides. However, there are some things that annoy me about it.
One of them is the rather verbose embed code SlideShare offers you:
| View |
Upload your own
That is quite a mouthful and the main issue is that when you use several slide embeds in one document, you’ll slow down the rendering of your page as each of these Flash embeds need to be instantiated and tries to pre-cache the first three slides from S3.
This gives slideshare the same SEO link love but is a lot less to add. Instead of the full slide include, you’ll get a preview image you can click that gets replaced with the flash movie. The following are examples:
Now, in order to convert one to the other you could do it by hand, or use the slideshare embed converter or install the Greasemonkey script
- A larger preview image
- A rest API call that gives me this information in a readable manner
Tags: embed, hack, lazyload, slideshare, unobtrusive