Widget:Amara : Différence entre versions

De CerclesRestauratifs.org
Aller à : navigation, rechercher
Ligne 11 : Ligne 11 :
 
|longitude=1.813
 
|longitude=1.813
 
}}</nowiki>
 
}}</nowiki>
 
Height (300), zoom (6), latitude (47.406) and longitude (1.813) are optional (default values), "id" is the identification number of the map (see example above).
 
 
  
 
</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="370px" data-width="620px" data-url="http://www.youtube.com/watch?v=<!--{$id|escape:'urlpathinfo'}-->" data-show-subtitles-default="true" data-hide-order="true" data-show-transcript-default="true" data-initial-language="fr">
+
</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="true" data-initial-language="fr">
 
</div></includeonly>
 
</div></includeonly>

Version du 17 décembre 2016 à 19:15

This widget allows you to add Amara your wiki page.

To insert this widget, use the following code:

{{#widget:Amara
|id=15-m_2420
|height=600
|zoom=5
|latitude=47.406
|longitude=1.813
}}