Help:Widget:Google Presentation: Difference between revisions

added clarification about angle brackets
(remove size distinction)
(added clarification about angle brackets)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== What is Widget:Google Presentation? ==
The [[Widget:Google Presentation | Google Presentation]] widget allows you to add '''[http://documents.google.com/support/presentations/ Google Presentations]''' to your wiki page.
It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]
== How do I use Wwidget:Google Presentation? ==
To use this widget, insert the following code into your page:
<nowiki>{{#widget:Google Presentation
|docid=<document id>
}}</nowiki>
=== 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...'''
[[File:Google_Spreadsheet_-_publish_step_1.png|300px]]
'''Step 2:''' You will see the '''Publish to the web''' dialog. Change any settings you like and then click '''Publish''' button.
[[File:Google_Spreadsheet_-_publish_step_2.png|400px]]
'''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:
[[File:Google_Spreadsheet_-_publish_step_3.png]]
You can also get this id from the url of your presentation:
[[File: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):
<nowiki>{{#widget:Google Presentation
|docid=1klXTIyTV0OM5PqOzXYgFLaMAKr82GNDIoezHZQq0SeU
}}</nowiki>
{{#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):
<nowiki>{{#widget:Google Presentation
|docid=1klXTIyTV0OM5PqOzXYgFLaMAKr82GNDIoezHZQq0SeU
|delay=6000
|size=medium
}}</nowiki>
{{#widget:Google Presentation
{{#widget:Google Presentation
|docid=1klXTIyTV0OM5PqOzXYgFLaMAKr82GNDIoezHZQq0SeU
|docid=1klXTIyTV0OM5PqOzXYgFLaMAKr82GNDIoezHZQq0SeU
|delay=6000
|size=medium
}}
}}
== Related Widgets ==
* [[Help:Widget:Google Spreadsheet]]
* [[Help:Widget:Google Document]]
* [[Help:Widget:Google Calendar]]
canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,698

edits