Difference between revisions of "Widget:YouTube"

From Apache OpenOffice Wiki
Jump to: navigation, search
(adding YouTube widget)
 
(Using this widget)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
== Using this widget ==
 
== Using this widget ==
 
For information on how to use this widget, see [http://www.mediawikiwidgets.org/YouTube widget description page on MediaWikiWidgets.org].
 
For information on how to use this widget, see [http://www.mediawikiwidgets.org/YouTube widget description page on MediaWikiWidgets.org].
 +
 +
To add a YouTube video:
 +
 +
<nowiki>{{#widget:YouTube|id=YouTubeID_Code}}</nowiki>
  
 
== Copy to your site ==
 
== Copy to your site ==
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 +
[[Category:Widgets]]
 
</noinclude><includeonly><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/<!--{$id|escape:'urlpathinfo'}-->"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/<!--{$id|escape:'urlpathinfo'}-->" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></includeonly>
 
</noinclude><includeonly><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/<!--{$id|escape:'urlpathinfo'}-->"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/<!--{$id|escape:'urlpathinfo'}-->" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></includeonly>

Latest revision as of 12:16, 28 May 2010

This widget allows you to add YouTube video player to your wiki page.

It was created by Yaron Koren.

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

To add a YouTube video:

{{#widget:YouTube|id=YouTubeID_Code}}

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:YouTube article.

Personal tools