Difference between revisions of "Widget:MediaCore"

From WikiVet English
Jump to navigation Jump to search
Line 2: Line 2:
 
===Usage===
 
===Usage===
 
To insert this widget, use the following code:
 
To insert this widget, use the following code:
 
+
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}|url=|width=|height=<nowiki>}}</nowiki>
  <nowiki>{{#widget:</nowiki>{{PAGENAME}}|url=<nowiki>}}</nowiki></noinclude><includeonly><iframe width="<!--{$width|default:300}-->" height="255" frameborder="0" src="<!--{$url}-->/embed_player"/></iframe></includeonly>
+
====Required Parameters====
 +
*url: Address of video page
 +
====Optional Parameters====
 +
*width: Defaults to 300 if not specified
 +
*height: Defaults to 255 if not specified</noinclude><includeonly><iframe width="<!--{$width|default:300}-->" height="<!--{$width|default:255}-->" frameborder="0" src="<!--{$url}-->/embed_player"/></iframe></includeonly>

Revision as of 12:59, 8 June 2011

This allows a video from mediacore to be embedded into a wiki page.

Usage

To insert this widget, use the following code:

{{#widget:MediaCore|url=|width=|height=}}

Required Parameters

  • url: Address of video page

Optional Parameters

  • width: Defaults to 300 if not specified
  • height: Defaults to 255 if not specified