Difference between revisions of "Widget:Html5video"

From Computational Memory Lab
Jump to: navigation, search
Line 7: Line 7:
 
}}</nowiki>
 
}}</nowiki>
  
* <tt>'''src=[SOURCE]'''</tt> Specify path to source video(s), relative to mediawiki root (or full URL). Best practice is to have <tt>mp4</tt>, <tt>webm</tt>, and <tt>ogg</tt> copies.
+
* <tt>'''src=[SOURCE]'''</tt> Specify path to source video(s), relative to mediawiki root (or full URL). Best practice is to have <tt>mp4</tt>, <tt>webm</tt>, and <tt>ogg</tt> copies.
* <tt>'''width=[WIDTH]'''</tt> Specify video width in pixels
+
* <tt>'''width=[WIDTH]'''</tt> Specify video width in pixels
* <tt>'''height=[HEIGHT]'''</tt> Specify video height in pixels
+
* <tt>'''height=[HEIGHT]'''</tt> Specify video height in pixels
  
 
</noinclude>
 
</noinclude>

Revision as of 19:44, 22 January 2013

Usage

{{#widget:Html5video
|src=../files/mediawiki_videos/Supplemental_Movie_S2
|width=960
|height=264
}}
  • src=[SOURCE] Specify path to source video(s), relative to mediawiki root (or full URL). Best practice is to have mp4, webm, and ogg copies.
  • width=[WIDTH] Specify video width in pixels
  • height=[HEIGHT] Specify video height in pixels