I am trying to embed a video using the media9 package for a Beamer presentation. Because I use a special font, I need to compile with LuaLaTeX or XeLaTeX. Now to do this video embedding you need to make a dvi file rather than a pdf file. But LuaLaTeX and XeLaTeX both directly make a pdf file. It is possible to get a dvi file with LuaLaTeX by either using the --output-format=dvi option or the dvilualatex command, but in both cases the compiler can't find my figures... As for XeLaTeX, I can only ouput xdv files.
So my question is this, is there a way to make it work with LuaLaTeX or embed the video via a xdv file with XeLaTeX? Otherwise are there any simple alternatives?