Difference between revisions of "Widget:Video"

From Cvillepedia
Jump to: navigation, search
(create html5 video embed widget)
 
m (try html escaping)
 
Line 5: Line 5:
 
   <nowiki>{{#widget:Video|url=http://archive-media.granicus.com:443/OnDemand/charlottesville/charlottesville_9e03d06f7fb54c8afaca6bc7fc716a9a.mp4}}</nowiki>
 
   <nowiki>{{#widget:Video|url=http://archive-media.granicus.com:443/OnDemand/charlottesville/charlottesville_9e03d06f7fb54c8afaca6bc7fc716a9a.mp4}}</nowiki>
  
</noinclude><includeonly><video src="<!--{$url|escape:'urlpathinfo'}-->"> width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$width|default:355|escape:'html'}-->"></video></includeonly>
+
</noinclude><includeonly><video src="<!--{$url|escape:'html'}-->"> width="<!--{$width|default:425|escape:'html'}-->" height="<!--{$width|default:355|escape:'html'}-->"></video></includeonly>

Latest revision as of 19:35, 20 March 2019

This widget allows you to add raw HTML5 <video> players to your wiki page.

Using this widget

 {{#widget:Video|url=http://archive-media.granicus.com:443/OnDemand/charlottesville/charlottesville_9e03d06f7fb54c8afaca6bc7fc716a9a.mp4}}