Difference between revisions of "Template:Video"

From SEBoK
Jump to navigation Jump to search
Line 2: Line 2:
 
The template embeds a video file with a poster using [[:Widget:Html5media|Html5media widget]]
 
The template embeds a video file with a poster using [[:Widget:Html5media|Html5media widget]]
  
# Video file name
+
Params are:
# Poster image file name
+
 
# Video width (optional)
+
1. Video file name
# Video height (optional)
+
2. Poster image file name
 +
3. Video width (optional)
 +
4. Video height (optional)
  
 
<pre>
 
<pre>

Revision as of 14:05, 13 May 2020

The template embeds a video file with a poster using Html5media widget

Params are:

1. Video file name 2. Poster image file name 3. Video width (optional) 4. Video height (optional)

{{Video|Somefile.mp4|Posterimage.jpg|400px|300px}}