# Can XeLaTeX | LuaTeX import movies?

It seems that XeLaTeX cannot handle movies. I imported movies into PDF produced with pdflatex compiler using the multimedia package that comes with beamer. My search over various boards revealed that currently there is no package that could import movies under XeLaTeX. Is that correct? And what about LuaLaTeX?

UPDATE: This question became obsolete with the advent of media9 package.

-

There is a version of movie15.sty called movie15_dvipdfmx.sty, see http://www.ctan.org/tex-archive/graphics/asymptote/patches/, that allows the inclusion of movies with xelatex with \includemovie.

Since it may not be clear, as there is no documentation, the package movie15_dvipdfmx.sty should be passed the option dvipdfmx for use with xelatex, that is, \usepackage[dvipdfmx]{movie15_dvipdfmx}.

-
No, it does not work. \documentclass[unicode]{article} \usepackage{graphicx} \usepackage{hyperref} \usepackage{movie15_dvipdfmx} \begin{document} \begin{figure}\centering \includemovie[label=movie-04-03 ,text={\includegraphics[width=\textwidth]{2010-04-03.png} ]{}{}{Video/2010-04-03-xvid.avi} \caption{\movieref[pause]{movie-04-03}{Run}} \label{fig:04-03} \end{figure} \end{document} produces no output with xelatex. It terminates with the error ! Undefined control sequence. <argument> \pdfmark – Igor Kotelnikov Mar 7 '11 at 16:30
@Igor \usepackage[dvipdfmx]{movie15_dvipdfmx} works for me. – cefstat Mar 7 '11 at 18:59
A very odd requirement that a package designed to work with dvipdfmx should require it as an option! – Alan Munn Mar 7 '11 at 20:22
@Alan: \usepackage[dvipdfmx]{movie15_dvipdfmx} with xelatex has limited functionality as compared to pdflatex. Bottom produced with \movieref[pause]{movie-04-03}{\RunVideo} wehre \RunVideo puts a pictures seemed to be not operational. – Igor Kotelnikov Mar 8 '11 at 11:04
@Alan: the recommendation is that you rename or symlink that package to movie15.sty and put it upstream in your input path. Then you call it with \usepackage{dvipdfmx}[movie15] as usual. – Matthew Leingang Apr 11 '11 at 12:07

Lualatex works perfectly with multimedia package.

-