Skip to content

mccarthy-m-g/embedr

Repository files navigation

embedr

R build status

An R package for embedding multimedia files in HTML documents.

Installation

embedr is not yet available on CRAN but you can install it from this repository:

# Install devtools package if necessary
if(!"devtools" %in% rownames(installed.packages())) install.packages("devtools")

# Install the stable development version from GitHub
devtools::install_github("mccarthy-m-g/embedr")

Example

Embed audio with embed_audio():

library(embedr)

# embed .mp3 file
audio <- "https://michaelmccarthy.netlify.app/files/embedr/audio-vignette.mp3"
embed_audio(audio)

Embed video with embed_video():

library(embedr)

# embed .mp4 video
video <- "https://michaelmccarthy.netlify.app/files/embedr/video-vignette.mp4"
embed_video(video, width = "256", height = "256")

About

An R package for embedding multimedia files in HTML documents.

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages