0

I'm trying to include a movie in a beamer presentation. I've tried many things, and it seems I finally got it to work by something like this:

\documentclass[xcolor=dvipsnames]{beamer}
\usepackage{media9}

\begin{document}

\begin{frame}

\begin{center}
\includemedia[
  activate=pageopen,
  width=300pt,
  height=170pt,
  keepaspectratio=true,
  addresource=./movies/Tacoma.mov,
  flashvars={%
src=./movies/Tacoma.mov
&scaleMode=stretch}
]{}{StrobeMediaPlayback.swf}
\end{center}

\end{frame}

\end{document}

where Tacoma.mov is a movie of the collapse of the Tacoma bridge due to wind loading (https://www.youtube.com/watch?v=xox9BVSu7Ok). The problem I see is that I have the movie, and when I create the presentation, LaTeX is embedding the movie in the pdf file, but this is not what I want to do because I don't want to duplicate the amount of memory. Is there a way to have the same behavior, but without embedding the actual movie in the pdf file?

I've seen that the beamer documentation proposes the use of the multimedia package, but I haven't been able to make it work without setting the externalviewer option. It gives me this error:

Macintosh HD:Users:aaragon:Desktop:hybrida LaTeX template:LaTeX:movies:Tacoma.mp4 cannot be found. Would you like to choose a replacement file?

My question is not restricted to the media9 package.

marked as duplicate by AlexG, Svend Tveskæg, Paul Gaborit, user13907, Malipivo Jun 1 '15 at 9:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What's wrong with embedding the video file? If you don't, (as with themultimedia package) you will have to carry it around with the PDF. Alternatively you can embed the Youtoube version into the PDF using media9. Of course, you need an internet connection for viewing. – AlexG May 31 '15 at 12:12
  • Because in the end you need to store both the movie and the produced presentation, duplicating unnecessarily the size. How do you embed a YouTube video with media9? – aaragon May 31 '15 at 12:16
  • 1
    See the first example in the media9 manual or simply tex.stackexchange.com/a/97687. – AlexG May 31 '15 at 12:20
  • By the way. With media9, you don't need a separate video file for archiving purposes. With package option attachfiles you can always download the video file from the PDF to disk via the 'Attachments' pane of A-Reader. – AlexG May 31 '15 at 12:26
  • Perhaps, your question is a duplicate of tex.stackexchange.com/q/72993 – AlexG Jun 1 '15 at 6:48