Widget:MIT World Video: Difference between revisions
No edit summary |
No edit summary |
||
(34 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
This widget allows you to embed '''[http://mitworld.mit.edu/ MIT World video]''' on your wiki page. | This widget allows you to embed '''[http://mitworld.mit.edu/ MIT World video]''' on your wiki page. | ||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
== 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. | ||
== Sample result == | == Sample result == | ||
{{#widget: | {{#widget:MIT World Video | ||
| | |host=cp58255.edgefcs.net&flv=mitw-01354-arts-abramow-data-koblin-30sep2010&preview=http://mitworld.mit.edu//uploads/mitwstill01354artsabramowdatakoblin30sep2010.jpg}} | ||
}} | </noinclude><includeonly><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=<!--{$host|escape:'urlpathinfo'}-->"/><embed src="http://mitworld.mit.edu/flash/player/Main.swf?host=<!--{$host|escape:'urlpathinfo'}-->" width="<!--{$width|default:481|escape:'html'}-->" height="<!--{$height|default:271|escape:'html'}-->" type="application/x-shockwave-flash"/></object></includeonly> | ||
</noinclude> <includeonly> | |||
<object width="<!--{$width|default:481|escape:'html'}-->" height="<!--{$height|default:271|escape:'html'}-->"> | |||
</object> | |||
</includeonly> |
Latest revision as of 03:52, 2 September 2011
This widget allows you to embed MIT World video on your wiki page.
To insert this widget, use the following 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:MIT World Video article.
Sample result