Widget:Dailymotion : Différence entre versions
De NVCwiki
Ligne 8 : | Ligne 8 : | ||
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | ||
|id=x5c4iy | |id=x5c4iy | ||
− | |||
− | |||
}}</nowiki> | }}</nowiki> | ||
Width and hight are optional, 640x360 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, 640x360 is a default, "id" is a first part of the file name in page URL (before first underscore, see example above). | ||
− | </noinclude><includeonly>< | + | </noinclude><includeonly><iframe src="//www.dailymotion.com/embed/video/<!--{$id|escape:'urlpathinfo'}-->" allowfullscreen="" width="480" height="270" frameborder="0"></iframe></includeonly> |
Version du 7 janvier 2018 à 12:43
This widget allows you to add Daily Motion video player to your wiki page.
It's created by Sergey Chernyshev as a replacement for VideoFlash extension.
To insert this widget, use the following code:
{{#widget:Dailymotion |id=x5c4iy }}
Width and hight are optional, 640x360 is a default, "id" is a first part of the file name in page URL (before first underscore, see example above).