Home > Tips and Tricks > Embed Video in PowerPoint with Relative Path

Embed Video in PowerPoint with Relative Path

A very useful tip that I found in this post. Here is the quote:

Seems like relative paths are supported, they are just not straightforward to implement. For example if your Powerpoint presentation is in the MyFiles folder, and the MyMovie.avi is in the Media folder inside MyFiles. The trick is to edit the xml files inside the Powerpoint file:

  • Make a copy of your presentation as Presentation.pptx (just to keep the original safe).
  • Rename your Presentation.pptx file into Presentation.pptx.zip.
  • Open the resulting zip file by clicking on it. It will open as a folder. Inside it, go to ppt, then slides, then _rels. You will see files called slide1.xml.rels etc.
  • Copy (drag and drop) all those to another place, outside the archive. Now open the file corresponding to the number of your slide with video with some editor (for example, Notepad). Look for the line that says something like: Target=”file:///C:\MyFiles\Media\MyMovie.avi”. If your Powerpoint presentation is in the MyFiles folder, and the MyMovie.avi is in the Media folder inside MyFiles, then change the above line to: Target=”Media\MyMovie.avi”.
  • Save the slide1.xml.rels file (or whatever number it was), then drag it back to that archive (that is actually a Powerpoint file), and then rename the archive back to Presentation.pptx.

This is it. Now you should be able to carry around the folder MyFiles with the presentation and with the Media folder inside it that contains your video.

Works for me on Windows 7.

Categories: Tips and Tricks Tags:
  1. No comments yet.
  1. No trackbacks yet.