Widget:Amara : Différence entre versions
| Ligne 2 : | Ligne 2 : | ||
This widget allows you to add [http://www.Amara.org/ Amara] your wiki page. | This widget allows you to add [http://www.Amara.org/ Amara] your wiki page. | ||
| − | To insert this widget, use the following code: | + | To insert this widget, use the following code, with by default, theses values : |
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | ||
| Ligne 8 : | Ligne 8 : | ||
|height=370 | |height=370 | ||
|width=640 | |width=640 | ||
| + | |show-transcript=false | ||
}}</nowiki> | }}</nowiki> | ||
</noinclude><includeonly><script type="text/javascript" src='https://amara.org/embedder-iframe'> | </noinclude><includeonly><script type="text/javascript" src='https://amara.org/embedder-iframe'> | ||
| − | </script><div class="amara-embed" data-height="<!--{$height|escape:'html'|default:370}-->px" data-width="<!--{$width|escape:'html'|default:'640'}-->px" data-url="http://www.youtube.com/watch?v=<!--{$id|escape:'urlpathinfo'}-->" data-show-subtitles-default="true" data-hide-order="true" data-show-transcript-default=" | + | </script><div class="amara-embed" data-height="<!--{$height|escape:'html'|default:370}-->px" data-width="<!--{$width|escape:'html'|default:'640'}-->px" data-url="http://www.youtube.com/watch?v=<!--{$id|escape:'urlpathinfo'}-->" data-show-subtitles-default="true" data-hide-order="true" data-show-transcript-default="<!--{$show-transcript|escape:'html'|default:false}-->" data-initial-language="fr" data-resizable="true"> |
</div></includeonly> | </div></includeonly> | ||
Version actuelle datée du 18 décembre 2016 à 10:40
This widget allows you to add Amara your wiki page.
To insert this widget, use the following code, with by default, theses values :
{{#widget:Amara
|id=HM1ceJHnjjc
|height=370
|width=640
|show-transcript=false
}}