[英].HTML file rendered with rmarkdown by reveal.js presentation is not showing embed .GIF with <iframe
我正在嘗試使用Rmarkdown在.representation.js演示文稿中嵌入.gif文件,但這在呈現的文件中未顯示。 我用iframe編碼:
<iframe src="https://giphy.com/embed/7K3p2z8Hh9QOI" width="480" height="270" frameBorder="0" class="giphy-embed" allowFullScreen></iframe>
我通過以下方式設置了.Rmd文件:
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
您怎么回事?
gif與任何瀏覽器(外部)一起顯示!! (當我在RStudio中渲染時不在本地)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.