Difference between revisions of "Widget:Vimeo"

From Personal Science Wiki
Jump to navigation Jump to search
 
(27 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
== Copy to your site ==
 
== Copy to your site ==
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
</noinclude><includeonly><iframe allowfullscreen="" height="<!--{$height|default:300|escape:'html'}-->" src="//player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->?title=0&amp;byline=0&amp;portrait=0" webkitallowfullscreen="" width="<!--{$width|default:400|escape:'html'}-->" style="border: none; float: right;"></iframe></includeonly>
+
</noinclude>
 +
 
 +
<includeonly>
 +
<div class="thumb tnone">
 +
<div class="thumbinner" style="width:410px">
 +
  <iframe allowfullscreen="" height="<!--{$height|default:250|escape:'html'}-->" src="//player.vimeo.com/video/<!--{$id|escape:'urlpathinfo'}-->?title=0&amp;byline=0&amp;portrait=0" webkitallowfullscreen="" width="<!--{$width|default:400|escape:'html'}-->" style="border: none;"></iframe>
 +
  <div class="thumbcaption">
 +
  <figcaption style="margin-bottom: 0.5em"><a href="<!--{$url|escape:'html'}-->"><!--{$url|escape:'html'}--></a></figcaption>
 +
  </div>
 +
</div>
 +
</div>
 +
</includeonly>

Latest revision as of 13:05, 16 March 2022

This widget allows you to embed Vimeo on your wiki page.

Created by Sergey Chernyshev.

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Vimeo.