m (Created page with "<noinclude>Category:Video Widget This widget allows you to add [http://www.dailymotion.com/ Daily Motion] video player to your wiki page. It's created by [[mediawikiwiki:Use...") |
(Daily Motion widget update) |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude>[[Category:Video Widget]] | <noinclude>[[Category:Video Widget]] | ||
| − | This widget | + | This widget lets you add [https://www.dailymotion.com/ Daily Motion] video player to your wiki page. |
| − | It's created by [ | + | It's created by [https://yugipedia.com/wiki/User:Dinoguy1000 Dinoguy1000]. |
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
| Line 14: | Line 14: | ||
Width and hight are optional, 420x336 is a default, "id" is a first part of the file name in page URL (before first underscore, see example above). | Width and hight are optional, 420x336 is a default, "id" is a first part of the file name in page URL (before first underscore, see example above). | ||
| − | {{ | + | {{Copy to your site}} |
== Sample result == | == Sample result == | ||
{{#widget:{{PAGENAME}}|id=x5c4iy}} | {{#widget:{{PAGENAME}}|id=x5c4iy}} | ||
| − | </noinclude><includeonly>< | + | </noinclude><includeonly><iframe src="https://www.dailymotion.com/embed/video/<!--{$id|escape:'urlpathinfo'}-->" width="<!--{$width|escape:'html'|default:'640'}-->" height="<!--{$height|escape:'html'|default:'360'}-->" frameborder="0" allowfullscreen ></iframe></includeonly> |
| + | |||
<noinclude> | <noinclude> | ||
[[Category:Widgets]] | [[Category:Widgets]] | ||
</noinclude> | </noinclude> | ||
This widget lets you add Daily Motion video player to your wiki page.
It's created by Dinoguy1000.
To insert this widget, use the following code:
{{#widget:Daily Motion
|id=x5c4iy
|width=420
|height=336
}}
Width and hight are optional, 420x336 is a default, "id" is a first part of the file name in page URL (before first underscore, see example above).