TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 8 down vote accepted

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}.

share|improve this answer
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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.