The Widget macro, or Widget Connector, allows you to embed multi-media content from other web sites into your Confluence page.
On this page:
The Widget macro supports embedded content from the following web sites:
These are new features, automatically included with Confluence 2.10.3 or later. They are also available for Confluence 2.10.0 or later, by upgrading to version 1.2 of the Widget Connector Plugin.
Just type the word 'widget' in curly brackets, and give it the URL (web address) of the thing you want to display.
{widget:url=http://example.com/my-location}
|
If the web-widget alias is enabled on your Confluence site, you can use web-widget instead of widget. See below.
Parameter |
Required |
Default |
Description |
|||
|---|---|---|---|---|---|---|
url |
yes |
|
This is the URL provided by the external web site for embedding content from that web site onto another web page. |
|||
height |
no |
|
Specify the height of the display, in pixels (default) or as a percentage of the window's height. For example, to specify a height of 200 pixels:
This code also specifies a height of 200 pixels:
This code specifies a height of 10 percent of the window's height:
|
|||
width |
no |
|
Specify the width of the display, in pixels (default) or as a percentage of the window's width. For example, to specify a width and height of 200 pixels:
This code also specifies a width and height of 200 pixels:
This code specifies a width of 10 percent of the window's width:
|
This example shows the Widget macro in action. It displays all photos from Flickr with the tag 'Atlassian'.
{widget:url=http://www.flickr.com/photos/tags/atlassian}
|
This example shows the Widget macro in action. It lets you play with a Google Gadget, Gadzi's Monkey Virtual Pet.
{widget:url=http://www.google.com/ig/adde?synd=open&source=ggyp&moduleurl=www.gadzi.com/gadgets/monkey.xml|width=250}
|
You will need to find the URL for the Google Gadget you want to display.
Here is one way to find a gadget's URL:
http://www.google.com/ig/directory?synd=open&num=24&url=http://abowman.googlepages.com/spider.xml&output=html |
You can also use the URL of the 'add gadget' page. The page is called 'Add "gadgetx" to your iGoogle page':
http://www.google.com/ig/adde?synd=open&source=ggyp&moduleurl=abowman.googlepages.com/spider.xml |
Here is an example of the Widget macro code for embedding a Google Gadget:
{widget:url=http://www.google.com/ig/adde?synd=open&source=ggyp&moduleurl=abowman.googlepages.com/spider.xml}
|
This feature is included in Confluence 2.10.3 or later. However, you can add this feature if you have Confluence 2.10.0 or later, by asking your Confluence Administrator to upgrade the Widget Connector Plugin to version 1.2.
You will need to find the URL for the Widgetbox widget you want to display.
Here is one way to find a widget's URL:
http://widgetbox.com/confluence/b8327e33-c8eb-4a38-b842-fba866ffdd28 |
Here is an example of the Widget macro code for embedding a Widgetbox widget:
{widget:url=http://widgetbox.com/confluence/b8327e33-c8eb-4a38-b842-fba866ffdd28}
|
You will need to find the URL for the YouTube video that you want to display.
To find a YouTube video's URL:
http://au.youtube.com/watch?v=-dnL00TdmLY |
Here is an example of the Widget macro code for embedding a YouTube video:
{widget:url=http://au.youtube.com/watch?v=-dnL00TdmLY}
|
You will need to find the URL for the MySpace video that you want to display.
To find a MySpace video's URL:
http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=3376248&searchid=20c789f6-1ae9-459a-bfec-75efcfc2847c |
Here is an example of the Widget macro code for embedding a MySpace video:
{widget:url=http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=3376248&searchid=20c789f6-1ae9-459a-bfec-75efcfc2847c}
|
You will need to find the URL for the Google video that you want to display.
To find a Google video's URL:
http://video.google.com/videoplay?docid=-7739076742312910146&ei=nJAfSbrzPIWOwgOhv_GKDA&q=An+Evening+With+Wiki+Inventor+Ward+Cunningham+in+Conversation&emb=1 |
Here is an example of the Widget macro code for embedding a Google video:
{widget:url=http://video.google.com/videoplay?docid=-7739076742312910146&ei=nJAfSbrzPIWOwgOhv_GKDA&q=An+Evening+With+Wiki+Inventor+Ward+Cunningham+in+Conversation&emb=1}
|
This feature is included in Confluence 2.10.3 or later. However, you can add this feature if you have Confluence 2.10.0 or later, by asking your Confluence Administrator to upgrade the Widget Connector Plugin to version 1.2.
You will need to find the URL for the Yahoo video that you want to display.
To find a Yahoo video's URL:
http://video.yahoo.com/watch/423158/2424140 |
Here is an example of the Widget macro code for embedding a Yahoo video:
{widget:url=http://video.yahoo.com/watch/423158/2424140}
|
This feature is included in Confluence 2.10.3 or later. However, you can add this feature if you have Confluence 2.10.0 or later, by asking your Confluence Administrator to upgrade the Widget Connector Plugin to version 1.2.
You will need to find the URL for the Dailymotion video that you want to display.
To find a Dailymotion video's URL:
http://www.dailymotion.com/user/spacevidcast/video/x7zevj_spacevidcast-2009-promo-video_tech |
Here is an example of the Widget macro code for embedding a Dailymotion video:
{widget:http://www.dailymotion.com/user/spacevidcast/video/x7zevj_spacevidcast-2009-promo-video_tech}
|
You will need an Episodic user account if you want to create and distribute videos via Episodic.
To embed an Episodic video onto a Confluence page:
http://app.episodic.com/shows/13/episodes/493 |
Here is an example of the Widget macro code for embedding an Episodic video:
{widget:url=http://app.episodic.com/shows/13/episodes/493}
|
You will need to find the URL for the Vimeo video that you want to display.
To find a Vimeo video's URL:
http://www.vimeo.com/909808 |
Here is an example of the Widget macro code for embedding a Vimeo video:
{widget:url=http://www.vimeo.com/909808}
|
You will need to find the URL for the Metacafe video that you want to display.
To find a Metacafe video's URL:
http://www.metacafe.com/watch/679493/wikis_in_plain_english_how_to/ |
Here is an example of the Widget macro code for embedding a Metacafe video:
{widget:url=http://www.metacafe.com/watch/679493/wikis_in_plain_english_how_to/}
|
You will need to find the URL for the blip.tv video that you want to display.
To find a blip.tv video's URL:
http://blip.tv/file/996864/ |
Here is an example of the Widget macro code for embedding a blip.tv video:
{widget:url=http://blip.tv/file/996864/}
|
You will need to find the URL for the Viddler video that you want to display.
To find a Viddler video's URL:
http://www.viddler.com/explore/Markus_Z/videos/1/ |
Here is an example of the Widget macro code for embedding a Viddler video:
{widget:url=http://www.viddler.com/explore/Markus_Z/videos/1/}
|
You can embed a slide show of photos from Flickr by supplying a URL that specifies one of the following:
If you want to do something else, we suggest that you try any Flickr URL. It should work.
Below are some examples of the Widget macro code for embedding Flickr images.
This example displays a slide show of Flickr photos that are tagged with the word 'Atlassian'.
{widget:url=http://www.flickr.com/photos/tags/atlassian/}
|
This example displays a slide show of photos from the Flickr photostream of user 'Atlassian'.
{widget:url=http://www.flickr.com/photos/atlassian/}
|
This example displays a slide show of Flickr photos from the set 'Melbourne Cup - November 2008' created by user 'Atlassian'.
{widget:url=http://www.flickr.com/photos/atlassian/sets/72157608657271078/}
|
This example displays a slide show of photos from the Flickr photostream of the user 'Atlassian', starting with a specific photo.
{widget:url=http://www.flickr.com/photos/atlassian/3003538919/}
|
You will need to find the URL for the Skitch image that you want to display.
To embed a Skitch image onto a Confluence page:
http://skitch.com/atlassian/411g/example-image |
Here is an example of the Widget macro code for embedding a Skitch image:
{widget:url=http://skitch.com/atlassian/411g/example-image}
|
To display the latest messages from a Twitter user, add the user's Twitter link as a URL in the Widget macro.
{widget:url=http://twitter.com/username}
|
The example below will display Mike Cannon-Brooke's Twitter messages:
{widget:url=http://twitter.com/mcannonbrookes}
|
To display the latest messages from a FriendFeed user, add the user's FriendFeed link as a URL in the Widget macro. For example:
{widget:url=http://friendfeed.com/myname}
|
This feature is included in Confluence 2.10.3 or later. However, you can add this feature if you have Confluence 2.10.0 or later, by asking your Confluence Administrator to upgrade the Widget Connector Plugin to version 1.2.
To display the latest blog or website comments from a BackType user, add the user's BackType widget link as a URL in the Widget macro. For example:
{widget:url=http://www.backtype.com/myname}
|
You will need to find the URL for the SlideShare presentation that you want to display.
To find a SlideShare presentation's URL:
http://www.slideshare.net/jleyser/using-jira-greenhopper-for-agile-development-presentation |
Here is an example of the Widget macro code for embedding a SlideShare presentation:
{widget:url=http://www.slideshare.net/jleyser/using-jira-greenhopper-for-agile-development-presentation}
|
You will need to find the URL for the SlideRocket presentation that you want to display.
To find a SlideRocket presentation's URL:
http://app.sliderocket.com/app/FullPlayer.aspx?id=132f9db7-b0fb-4f51-b974-36652774971b |
Here is an example of the Widget macro code for embedding a SlideRocket presentation:
{widget:url=http://app.sliderocket.com/app/FullPlayer.aspx?id=132f9db7-b0fb-4f51-b974-36652774971b}
|
You will need to find the URL for the Scribd presentation that you want to display.
To find a Scribd presentation's URL:
http://www.scribd.com/doc/5683554/My-Sea-Friends-Coloring-Book |
Here is an example of the Widget macro code for embedding a Scribd presentation and displaying it with a height of 600 pixels:
{widget:url=http://www.scribd.com/doc/5683554/My-Sea-Friends-Coloring-Book|height=600px}
|
You can embed presentations from Google Docs, but not other document types. You will need to find the URL for the Google Docs presentation that you want to display.
To find the URL of a Google Docs presentation:
http://docs.google.com/Presentation?docid=ddpqn8g5_0fx96zmmq&mm=en_GB |
Here is an example of the Widget macro code for embedding a Google Docs presentation
{widget:url=http://docs.google.com/Presentation?docid=ddpqn8g5_0fx96zmmq&mm=en_GB}
|
This feature is included in Confluence 2.10.3 or later. However, you can add this feature if you have Confluence 2.10.0 or later, by asking your Confluence Administrator to upgrade the Widget Connector Plugin to version 1.2.
You can embed a Google Calendar into your page and to do this, you will need to add the URL for the Google Calendar that you want to display.
To find the URL for a Google Calendar:
http://www.google.com/calendar/embed?src=sombody%40example.com&ctz=Australia/Sydney |
Here is an example of the Widget macro code for embedding a Google Calendar:
{widget:url=http://www.google.com/calendar/embed?src=sombody%40example.com&ctz=Australia/Sydney}
|
This feature is included in Confluence 2.10.3 or later. However, you can add this feature if you have Confluence 2.10.0 or later, by asking your Confluence Administrator to upgrade the Widget Connector Plugin to version 1.2.
To display an HTML form built in the Wufoo HTML Form Builder, add the form's link as a URL to the Widget Macro. For example:
{widget:url=http://examples.wufoo.com/forms/contact-form/}
|
This feature is included in Confluence 2.10.3 or later. However, you can add this feature if you have Confluence 2.10.0 or later, by asking your Confluence Administrator to upgrade the Widget Connector Plugin to version 1.2.
To display a shared page built in Dabble DB, add the page's link as a URL to the Widget Macro. For example:
{widget:url=https://confluence-sample.dabbledb.com/page/confluence-sample/nSQqdgIg}
|
The Widget Macro supports shared Dabble DB view and form pages. Hence, it is possible to insert a Dabble DB data entry form into a Confluence page. Any data submitted via this form can be displayed on the same or another page via a Dabble DB view.
Confluence supports web-widget as an alias for widget. Your System Administrator can enable or disable one or both these macro names. The alias is useful for Confluence sites which use Adaptavist's Community Bubbles plugin, to avoid conflict with the 'widget' macro supplied by that plugin.
If the web-widget alias is enabled on your Confluence site, you can use web-widget instead of widget in all the examples above.
If the URL given in the Widget macro does not work, the Widget macro displays an icon and the base URL. The icon will be linked to the full URL given in the macro code.
For example, the following code:
{widget:url=http://example.com/invalid}
|
will result in an image like the one below:
Take me back to the Confluence User Guide.