Retrieve a function for saving animations based on a string/function or a filename
| 1 | animation_saver(saver, filename, mime_type = NULL)
 | 
| saver | A function or string describing an animation saver | 
| filename | File name to save to | 
| mime_type | If saver is a custom function instead of a string specification, can specify a mime_type to save it as. Without this, files can be saved but not browsed in RStudio. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.