Studying the documentation of media9 package left me with the impression that it should be possible to embed an SWF-video into a slide set to be shown by Adobe Reader. Unfortunately that document contained no examples that I could find, so I'm half-guessing the syntax.
This is the first time I'm trying to embed a video, so don't assume that I know anything.
Here's the source code:
\documentclass{powerdot}
\usepackage{lmodern}
\usepackage[utf8]{inputenc}
%\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[finnish]{babel}
\usepackage{amsmath,amssymb}
%\usepackage{psfrag}
\usepackage{media9}
\begin{document}
\begin{slide}{Animation}
\includemedia[
width=250pt,
activate=pageopen,
addresource=ellipsi.swf,
flashvars={source=ellipsi.swf}
]{}{VPlayer.swf}
\end{slide}
\end{document}
The file ellipsi.swf was exported from Mathematica9, and resides in the same directory as this TeX-source.
System: MikTeX ver 2.9, WinEdt ver 7.0, Windows 7
When I click TeX->LaTeX, this compiles all right. The DVI->PS conversion also goes smoothly. But clicking PS2PDF causes a slide of errors starting with
Error: /undefinedresult in --currentpoint
and ending with
MiKTeX GPL Ghostscript 9.05: Unrecoverable error, exit code 1.
Usually I include psfrag substitutions in still images, so that's why I'm used to going the DVI->PS->PDF route. I also tried a direct DVI2PDF, but it gave
** WARNING ** 50 memory objects still allocated
You may want to report this to [email protected]
Mind you that last message does not concern me much, because I always get that if I hit DVI2PDF, usually with a lower number of allocated memory objects though.