Widget:MIT World Video: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
To insert this widget, use the following code:<br/> | To insert this widget, use the following code:<br/> | ||
*<nowiki>{{#widget:MIT World Video| | *<nowiki>{{#widget:MIT World Video|host=?}}</nowiki> | ||
Replace ? with the part of the embed code URL after " | Replace ? with the part of the embed code URL after "host="<br/> | ||
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. | ||
Line 14: | Line 14: | ||
</noinclude> <includeonly> | </noinclude> <includeonly> | ||
<object width="<!--{$width|default:481|escape:'html'}-->" height="<!--{$height|default:271|escape:'html'}-->"> | <object width="<!--{$width|default:481|escape:'html'}-->" height="<!--{$height|default:271|escape:'html'}-->"> | ||
<param name="movie" value="http://mitworld.mit.edu/flash/player/Main.swf?host | <param name="movie" value="http://mitworld.mit.edu/flash/player/Main.swf?host=<!--{$id|escape:'urlpathinfo'}-->"/> | ||
<param name="allowScriptAccess" value="always"/> | <param name="allowScriptAccess" value="always"/> | ||
<param name="allowFullScreen" value="true"/> | <param name="allowFullScreen" value="true"/> | ||
<param name="quality" value="high"/> | <param name="quality" value="high"/> | ||
<embed src="http://mitworld.mit.edu/flash/player/Main.swf?host | <embed src="http://mitworld.mit.edu/flash/player/Main.swf?host=<!--{$id|escape:'urlpathinfo'}-->"/> | ||
</object> | </object> | ||
</includeonly> | </includeonly> |
Revision as of 02:03, 2 September 2011
This widget allows you to embed MIT World video on your wiki page.
To insert this widget, use the following code:
- {{#widget:MIT World Video|host=?}}
Replace ? with the part of the embed code URL after "host="
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:MIT World Video article.
Sample result