Difference between revisions of "Widget:Html5media"

From SEBoK
Jump to navigation Jump to search
Line 1: Line 1:
</noinclude><includeonly><script src="https//api.html5media.info/1.2.2/html5media.min.js"></script><video src="<!--{$url|validate:url}-->" width="<!--{$width|default:425|validate:int|escape:'html'}-->" height="<!--{$height|default:355|validate:int|escape:'html'}-->"
+
</noinclude>
 +
 
 +
The widget embeds a video file, takes the following params:
 +
 
 +
* url - full url to the video file
 +
* height - video height
 +
* width - vide width
 +
* poster - poster image
 +
 
 +
<includeonly><script src="https//api.html5media.info/1.2.2/html5media.min.js"></script><video src="<!--{$url|validate:url}-->" width="<!--{$width|default:425|validate:int|escape:'html'}-->" height="<!--{$height|default:355|validate:int|escape:'html'}-->"
 
controls poster="<!--{$poster}-->"></video></includeonly>
 
controls poster="<!--{$poster}-->"></video></includeonly>

Revision as of 14:03, 13 May 2020


The widget embeds a video file, takes the following params:

  • url - full url to the video file
  • height - video height
  • width - vide width
  • poster - poster image