Widget:MIT World Video: Difference between revisions

No edit summary
No edit summary
Line 4: Line 4:
To insert this widget, use the following code:
To insert this widget, use the following code:


<nowiki>
{{#widget:MIT World Video
|
|width=481
|height=271
}}</nowiki>


== Copy to your site ==
== Copy to your site ==
Line 9: Line 15:


== Sample result ==
== Sample result ==
{{#widget:MIT World Video|}}
{{#widget:MIT World Video|id=http://mitworld.mit.edu/flash/player/Main.swf?host=cp58255.edgefcs.net&flv=mitw-01354-arts-abramow-data-koblin-30sep2010&preview=http://mitworld.mit.edu//uploads/mitwstill01354artsabramowdatakoblin30sep2010.jpg}}
</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="allowScriptAccess" value="always"/>
     <param name="allowScriptAccess" value="always"/>
     <param name="movie" value="http://mitworld.mit.edu/flash/player/Main.swf?host=cp58255.edgefcs.net&flv=mitw-01354-arts-abramow-data-koblin-30sep2010&preview=http://mitworld.mit.edu//uploads/mitwstill01354artsabramowdatakoblin30sep2010.jpg"/>
     <param name="movie" value="<!--{$id|escape:'urlpathinfo'}-->"/>
     <param name="quality" value="high"/>
     <param name="quality" value="high"/>
     <param name="bgcolor" value="#000000"/>
     <param name="bgcolor" value="#000000"/>

Revision as of 03:37, 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
|
|width=481
|height=271
}}

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