I am trying to publish a `.Rmd` in [Rpubs](http://rpubs.com) by embedding a YouTube video link. After some exploration, I am trying the following which just gives a blank space in my html.

```
<div align="center">
   <iframe width="560" height="315" src="http://www.youtube.com/embed/zsYjsgm4Psg" frameborder="0" allowfullscreen>
   </iframe>
</div>

```

Two related posts:

1. [rmarkdown: Alter Action Depending on Document](http://www.r-bloggers.com/rmarkdown-alter-action-depending-on-document/)
2. [R markdown Embedded Youtube Video](https://support.rstudio.com/hc/communities/public/questions/203570516-R-markdown-Embedded-Youtube-Video-)