% Video in html % L [Collado-Torres](http://www.biostat.jhsph.edu/~lcollado/#.UMAMRJPjl18) % Dec 5, 2012 # Pipeline ## Three steps One way is to write the presentation in R markdown (Rmd) using [Rstudio](http://www.rstudio.com/) Then you use [knitr](http://yihui.name/knitr/) to export it to markdown. And finally use [pandoc](http://johnmacfarlane.net/pandoc/) to create the html slides. More [here](http://yihui.name/en/2012/05/how-to-make-html5-slides-with-knitr/) and [here](http://fellgernon.tumblr.com/post/35587597245/introduction-to-r-and-biostatistics-2012-version#.UMANV5Pjl18) # Video ## Youtube This is just an example of how to include youtube videos on an html presentation. Basically in the Rmd file you add the video using _div_ and _iframe_ html tags directly: ```{r, eval=FALSE}