rmd2df now handles video and figures