I'm trying to insert/embed a remotely hosted video into a presentation.
When trying it like this:
- Code: Select all
slide.Shapes.AppendVideoMedia(pathToVideo, rect);
I get an exception:
(translated from german... maybe its a bit off)URI-Format not supported.
When trying it like this:
- Code: Select all
slide.Shapes.InsertVideoMedia(index, pathToVideo, rect);
There is no exception but powerpoint crashes when navigating to the slide with the video.
What is the correct way to embed a remotely hosted video?
Thanks in advance