Widget:MIT World Video: Difference between revisions
No edit summary |
No edit summary |
||
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:<br/> | To insert this widget, use the following code:<br/><nowiki> | ||
<nowiki> | {{#widget:{{PAGENAME}}<br/> | ||
{{#widget:{{PAGENAME}} | |flv=mitw-01317-hyper-studio-graphic-exp-fendt-20may2010&preview=http://mitworld.mit.edu//uploads/mitwstill01317hyperstudiographicexpfendt20may2010.jpg"}} | ||
| | </nowiki><br/> | ||
</nowiki> | * '''flv''' = the part of the URL affer "...flv="<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 19: | Line 19: | ||
<param name="allowFullScreen" value="true"/> | <param name="allowFullScreen" value="true"/> | ||
<param name="quality" value="high"/> | <param name="quality" value="high"/> | ||
<param name="movie" value="http://mitworld.mit.edu/flash/player/Main.swf?host=cp58255.edgefcs.net&flv=<!--{$ | <param name="movie" value="http://mitworld.mit.edu/flash/player/Main.swf?host=cp58255.edgefcs.net&flv=<!--{$flv|escape:'urlpathinfo'}-->"/> | ||
<embed src="http://mitworld.mit.edu/flash/player/Main.swf?host=cp58255.edgefcs.net&flv=<!--{$ | <embed src="http://mitworld.mit.edu/flash/player/Main.swf?host=cp58255.edgefcs.net&flv=<!--{$flv|escape:'urlpathinfo'}-->" type="application/x-shockwave-flash" wmode="transparent" width="<!--{$width|escape:'html'|default:'481'}-->" height="<!--{$height|escape:'html'|default:271}-->"/> | ||
</object> | </object> | ||
</includeonly> | </includeonly> |
Revision as of 01:35, 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}}<br/>
|flv=mitw-01317-hyper-studio-graphic-exp-fendt-20may2010&preview=http://mitworld.mit.edu//uploads/mitwstill01317hyperstudiographicexpfendt20may2010.jpg"}}
- flv = the part of the URL affer "...flv="
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