« Widget:Loom » : différence entre les versions
De Wiki des possibles
(Contenu remplacé par « x ») Balises : Contenu remplacé Révoqué |
Aucun résumé des modifications Balise : Révocation manuelle |
||
Ligne 1 : | Ligne 1 : | ||
<noinclude> | |||
This widget allows you to add a Loom.com video to your wiki page. | |||
== Using this widget == | |||
For information on how to use this widget, see the [https://www.mediawikiwidgets.org/Loom widget description page on MediaWikiWidgets.org]. | |||
== Copy to your site == | |||
To use this widget on your site, just install the [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and the copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki, as an article called '''{{FULLPAGENAME}}'''. | |||
== Parameters == | |||
* '''id''' - video ID (from the URL) | |||
* '''height''' and '''width''' define view dimensions, 420x350 is default | |||
<iframe src="https://www.loom.com/embed/16bb08dac06f49bb9be4e2144e7918af" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe> | |||
== Sample results == | |||
=== Single clip === | |||
; Syntax | |||
<pre>{{#widget:Loom|id=16bb08dac06f49bb9be4e2144e7918af}}</pre> | |||
; Result | |||
{{#widget:Loom|id=16bb08dac06f49bb9be4e2144e7918af}} | |||
=== Single clip with different dimensions === | |||
; Syntax | |||
<pre>{{#widget:Loom|playlist=16bb08dac06f49bb9be4e2144e7918af|height=525|width=630}}</pre> | |||
; Result | |||
{{#widget:Loom|playlist=16bb08dac06f49bb9be4e2144e7918af|height=525|width=630}} | |||
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:'425'}-->" height="<!--{$height|escape:'html'|default:355}-->" src="https://www.loom.com/embed/<!--{$id|escape:'html'}-->" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="border: none"></iframe></includeonly> |
Version actuelle datée du 20 mars 2023 à 08:03
This widget allows you to add a Loom.com video to your wiki page.
Using this widget
For information on how to use this widget, see the widget description page on MediaWikiWidgets.org.
Copy to your site
To use this widget on your site, just install the MediaWiki Widgets extension and the copy full source code of this page to your wiki, as an article called Widget:Loom.
Parameters
- id - video ID (from the URL)
- height and width define view dimensions, 420x350 is default
<iframe src="https://www.loom.com/embed/16bb08dac06f49bb9be4e2144e7918af" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe>
Sample results
Single clip
- Syntax
{{#widget:Loom|id=16bb08dac06f49bb9be4e2144e7918af}}
- Result
Single clip with different dimensions
- Syntax
{{#widget:Loom|playlist=16bb08dac06f49bb9be4e2144e7918af|height=525|width=630}}
- Result