Difference between revisions of "Widget:MediaCore"

From WikiVet English
Jump to navigation Jump to search
Line 8: Line 8:
 
*width: Defaults to 300 if not specified
 
*width: Defaults to 300 if not specified
 
*height: Defaults to 255 if not specified
 
*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>
+
*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=True"/></iframe></includeonly>

Revision as of 15:13, 23 November 2012

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