gifify is a simple wrapper for the amazing magick package that simplifies the process of importing videos, adding subtitles, and turning them into GIFs for your meme-ing needs.
Install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("imaddowzimet/gifify")
To use gifify, just pass it a link to a video file with the clip you want to subtitle (already cut to the correct length), and the text you want for the subtitle.
library(gifify)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.