Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify extImgObs so it can use mp4 files. #346

Open
GeraldCNelson opened this issue Jan 12, 2021 · 0 comments
Open

Modify extImgObs so it can use mp4 files. #346

GeraldCNelson opened this issue Jan 12, 2021 · 0 comments

Comments

@GeraldCNelson
Copy link

GeraldCNelson commented Jan 12, 2021

I would like to add an mp4 video to my powerpoint. The documentation says you can add png or emf files. I'd like to ask about modifying external_img so that it would work with code like that below.

library(officer)
my_pres <- read_pptx()
extImgObs <- external_img(src = "graphics/someMP4File.mp4")
my_pres <- add_slide(my_pres, layout = 'Title Only', master = 'Office Theme') %>%
ph_with(value = extImgObs, location = ph_location(left = 2, top = 0) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants