Widget:Video: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{{youtube|}}}" frameborder="0" allowfullscreen></iframe> | <iframe width="560" height="315" src="https://www.youtube.com/embed/{{{youtube|}}}" frameborder="0" allowfullscreen></iframe> | ||
<!-- Default video handling --> | <!-- Default video handling --> | ||
{{#if:{{{webm|}}}| | |||
<video style="<!--{$style}-->" controls> | <video style="<!--{$style}-->" controls> | ||
<source src="<!--{$webm|validate:url}-->" type="video/webm" /> | <source src="<!--{$webm|validate:url}-->" type="video/webm" /> | ||
<!--{if $ogg}--> | <!--{if $ogg}--> | ||
<source src="<!--{$ogg|validate:url}-->" type="video/ogg" /> | <source src="<!--{$ogg|validate:url}-->" type="video/ogg" /> | ||
Line 16: | Line 15: | ||
No support for the video tag, try using a more recent browser that supports HTML5 video. | No support for the video tag, try using a more recent browser that supports HTML5 video. | ||
</video> | </video> | ||
}} | |||
</includeonly> | </includeonly> |