Widget:Video: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:


  <nowiki>
  <nowiki>
  {{#Widget:Video|webm=http://url.to/your.webm|mp4=http://url.to/your.mp4|style=""}}
  {{#Widget:Video|webm=http://url.to/your.webm|mp4=http://url.to/your.mp4|style=}}
</nowiki>
 
For example:
 
<nowiki>
{{#Widget:Video|mp4=https://pzwiki.wdka.nl/mw-mediadesign/images/a/af/Traffic_lights.mp4|style=height:200px;float:right;}}
  </nowiki>
  </nowiki>



Latest revision as of 16:25, 13 November 2023

This widget allows you to embed HTML5 Media on your wiki page.

Created by taipan Modified by mm

Using this widget

 {{#Widget:Video|webm=http://url.to/your.webm|mp4=http://url.to/your.mp4|style=}}
 

For example:

 {{#Widget:Video|mp4=https://pzwiki.wdka.nl/mw-mediadesign/images/a/af/Traffic_lights.mp4|style=height:200px;float:right;}}
 

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Video article.