knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )
play youtube by RStudio(RStudio Server).
devtools::install_github("kazutan/tubeplayR")
First, run tubeplay()
, and YouTube video start at RStudio.
If you want another YouTube video, run tubeplay(url = "want/play/the/url")
.
Note argument url
is a url for watch, not embed url.
Yes, Youtube playlist is compatible.
This package can use in follow environment:
MIT.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.