I recently got a new computer and so installed MacTeX 2011, previously I had been using the 2009 version. I have used the TeXLive utility to bring the 2011 version up to date today.
I use XeTeX with the beamer package to create presentations and need to occasionally embed movies. I used to be able to do the following with my 2009 installation:
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[dvipdfmx]{beamer}
\usepackage[dvipdfmx]{movie15_dvipdfmx}
\begin{document}
\begin{frame}
\frametitle{Movie Test}
\includemovie[poster,text={Tacoma Narrows}, mouse, repeat,controls]{.5\linewidth}{.375\linewidth}{tacoma.avi}
\end{frame}
\end{document}
Here "tacoma.avi" can of course be any .avi movie, I used a DivX 4.1.2 encoding. I downloaded the file movie15_dvipdfmx.sty from http://asymptote.svn.sourceforge.net/viewvc/asymptote/trunk/asymptote/patches/
In the new installation, I need to replace the document class with
\documentclass{beamer}
i.e., I need to drop the "[dvipdfmx]" option. This is fine by me. The code still compiles, but when I open the resulting file in Adobe reader 10.1, I get an error message: A window titled "Warning: JavaScript Window -" pops up and says "Expected a stream object." The movie is not shown.
Furthermore, I just checked the file size: the .avi movie should be included inside the pdf container of the compiled TeX file, but this evidently doesn't happen, as the .pdf file is only 6 kb large.
Everything still works fine in the 2009 installation. I understand that the file "movie15_dvipdfmx.sty" is two years old and perhaps incompatible with TeXLive 2011, but there seems to be no newer version available. Can I make the above code work in some way with TexLive 2011? If not, what are my options for embedding movies in the XeTeX+beamer set-up?