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:
To insert this widget, use the following code:
<nowiki>
{{#widget:{{PAGENAME}}
|id=mitw-01317-hyper-studio-graphic-exp-fendt-20may2010&preview=http://mitworld.mit.edu//uploads/mitwstill01317hyperstudiographicexpfendt20may2010.jpg"}}
</nowiki>


  <nowiki>{{#widget:YouTube|id=DWef69ItVrU}}</nowiki>
== Parameters ==
* '''id''' - video id (from the URL)
* '''height''' and '''width''' define view dimensions, 420x350 is default
== 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.



Revision as of 01:29, 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:{{PAGENAME}} |id=mitw-01317-hyper-studio-graphic-exp-fendt-20may2010&preview=http://mitworld.mit.edu//uploads/mitwstill01317hyperstudiographicexpfendt20may2010.jpg"}}

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