Widget

Difference between revisions of "Daily Motion"

From LRDE

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).
   
{{Template:Copy to your site}}
 
 
== Sample result ==
 
== Sample result ==
 
{{#widget:{{PAGENAME}}|id=x5c4iy}}
 
{{#widget:{{PAGENAME}}|id=x5c4iy}}

Revision as of 11:33, 31 March 2014

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: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).

Sample result