Difference between revisions of "Widget:MediaCore"

From WikiVet English
Jump to navigation Jump to search
Line 7: Line 7:
 
====Optional Parameters====
 
====Optional Parameters====
 
*width: Defaults to 300 if not specified
 
*width: Defaults to 300 if not specified
*height: Defaults to 255 if not specified</noinclude><includeonly><iframe width="<!--{$width|default:300}-->" height="<!--{$height|default:255}-->" frameborder="0" src="<!--{$url}-->/embed_player"/></iframe></includeonly>
+
*height: Defaults to 255 if not specified
 +
*frameborder: Defaults to 0 if not specified</noinclude><includeonly><iframe width="<!--{$width|default:300}-->" height="<!--{$height|default:255}-->" frameborder="<!--{$frameborder|default:0}-->" src="<!--{$url}-->/embed_player"/></iframe></includeonly>

Revision as of 13:02, 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
  • frameborder: Defaults to 0 if not specified