Help:Widget:Google Presentation: Difference between revisions
(update demo with documentation) |
(added clarification about angle brackets) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== What is | == What is Widget:Google Presentation? == | ||
The Google | 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.] | It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.] | ||
== How do I use | == How do I use Wwidget:Google Presentation? == | ||
To use this widget, insert the following code into your page: | To use this widget, insert the following code into your page: | ||
Line 13: | Line 13: | ||
}}</nowiki> | }}</nowiki> | ||
== Parameters == | === Parameters === | ||
* docid: id of the shared presentation. | * 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. | * 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. | * 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. | * 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). | * 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 == | == 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 | <nowiki>{{#widget:Google Presentation | ||
|docid=1klXTIyTV0OM5PqOzXYgFLaMAKr82GNDIoezHZQq0SeU | |docid=1klXTIyTV0OM5PqOzXYgFLaMAKr82GNDIoezHZQq0SeU | ||
|delay=6000 | |||
|size=medium | |||
}}</nowiki> | }}</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]] |
Latest revision as of 17:05, 16 March 2015
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...
Step 2: You will see the Publish to the web dialog. Change any settings you like and then click Publish button.
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:
You can also get this id from the url of your presentation:
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 }}