Difference between revisions of "Widget:MediaCore"
Jump to navigation
Jump to search
(→Usage) |
|||
(6 intermediate revisions by 2 users not shown) | |||
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}}<nowiki>}}</nowiki></noinclude><includeonly><iframe width=" | + | ====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</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