简体   繁体   中英

.HTML file rendered with rmarkdown by reveal.js presentation is not showing embed .GIF with <iframe

I'm tryng to embed a .gif file inside of a reveal.js presentation using Rmarkdown, but this is not shown in the rendered file. I coded with iframe:

<iframe src="https://giphy.com/embed/7K3p2z8Hh9QOI" width="480" height="270" frameBorder="0" class="giphy-embed" allowFullScreen></iframe>

I setted the .Rmd file this way:

output:
  revealjs::revealjs_presentation:
    transition: fade
    mathjax: null
    incremental: true
    theme: simple
    center: false
    reveal_options:
       slideNumber: true
   self_contained: false
   fig_width: 6
   fig_height: 3.5
   reveal_plugins: ["zoom"]
   controls: false
   mouseWheel: false

What do you thing it's happen?

The gif is shown with any browser (external)!! (not locally when i render it in RStudio)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM