Help:Widget:Google Presentation

From MozillaWiki
Jump to: navigation, search

What is Widget:Google Presentation?

The Google Presentation widget allows you to add Google Presentations to your wiki page.

It was originally created by Sergey Chernyshev for Semantic Communities LLC.

How do I use Wwidget:Google Presentation?

To use this widget, insert the following code into your page:

{{#widget:Google Presentation
|docid=<document id>
}}

Parameters

  • docid: id of the shared presentation (be sure to replace entire <document-id>, including angle brackets).
  • size: Size of the embed. Options are 'small' (480x299), 'medium' (960x569), or large (1440x839). The default is small.
  • start: Whether or not to autostart the presentation. Options are 'true' or 'false'. The default is false.
  • loop: Whether or not the presentation should play again. Options are 'true' or 'false'. The default is false.
  • delay: How long to wait before advancing to the next slide. Value is in milliseconds. The default value is 3000 (3 seconds).

Publishing your Google Presentation

In order for the presentation to be visible to all users of the wiki, you'll need to set permissions accordingly on the Google presentation that you want to share. Note: The images below for for Google Spreadsheets, but the steps are identical for Google Presentations.

Step 1: In your Google Presentation, click File > Publish to the web...

Google Spreadsheet - publish step 1.png

Step 2: You will see the Publish to the web dialog. Change any settings you like and then click Publish button.

Google Spreadsheet - publish step 2.png

Step 3: The Publish to the web dialog will be updated with the public link or embed to your presentation. You'll need the presentation key that's part of this link. It looks like this:

Google Spreadsheet - publish step 3.png

You can also get this id from the url of your presentation:

Google Spreadsheet Key from url.png

Example

This code embeds our demo presentation with all the default values (small size, do not autostart or loop, slide advance delay of 3 seconds):

{{#widget:Google Presentation
|docid=1klXTIyTV0OM5PqOzXYgFLaMAKr82GNDIoezHZQq0SeU
}}

This code embeds our demo presentation with the following parameters: medium size, do not autostart, do not loop, slide advance delay of 6 seconds (6000ms):

{{#widget:Google Presentation
|docid=1klXTIyTV0OM5PqOzXYgFLaMAKr82GNDIoezHZQq0SeU
|delay=6000
|size=medium
}}

Related Widgets