Difference between revisions of "Widget:MediaCore"

From WikiVet English
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
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="<!--{$width|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=True"/ mozallowfullscreen="mozallowfullscreen" webkitallowfullscreen="webkitallowfullscreen"
 +
scrolling="no"></iframe></includeonly>

Latest revision as of 15:14, 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