Cette page à pour but de vous guider dans l’insertion de médias divers (youtube, pdf, slidechare,…) dans le DokuWiki.

Pour insérer une vidéo Youtube, il suffit de remplacer la “clé” de la vidéo (ici 2Z4m4lnjxkY) dans le code ci-dessous :

<html>
  <center>
    <iframe 
      width="600" height="315" 
      src="//www.youtube.com/embed/2Z4m4lnjxkY" frameborder="0" 
      allowfullscreen
    >
    </iframe>
  </center>
</html>

On obtient alors :

<html>

<center>
  <iframe 
    width="600" height="315" 
    src="//www.youtube.com/embed/2Z4m4lnjxkY" frameborder="0" 
    allowfullscreen
  >
  </iframe>
</center>

</html>

Pour insérer un slideshare, il suffit de remplacer la “clé” de celui ci (ici 39714096) dans le code suivant :

<html>
  <center>
    <iframe 
      src="//www.slideshare.net/slideshow/embed_code/39714096" 
      width="600" 
      height="420" 
      frameborder="0" 
      marginwidth="0" 
      marginheight="0" 
      scrolling="no" 
      style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" 
      allowfullscreen
     >
     </iframe>
  </center>
</html>

On obtient donc :

<html>

<center>
  <iframe 
    src="//www.slideshare.net/slideshow/embed_code/39714096" 
    width="600" 
    height="420" 
    frameborder="0" 
    marginwidth="0" 
    marginheight="0" 
    scrolling="no" 
    style="border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;" 
    allowfullscreen
   >
   </iframe>
</center>

</html>

  • wiki/insertmedia.txt
  • Dernière modification : 2016/07/07 07:44
  • de mdelsaut