While using media9
package, I'm getting the following error :
Argument of \bool_if:nTF has an extra }
I'm unable to figure out where does the error come from. Here is the minimal example:
\documentclass{beamer}
\mode<presentation>
\usepackage{media9}
\usetheme{Darmstadt}
\setbeamercovered{transparent}
\begin{document}
\begin{frame}
\includemedia[
activate=pageopen,
width=200pt,height=150pt,
addresource=c4.mp4,
flashvars={%
source=c4.mp4
}
]{}{VLC.app}%{VPlayer.swf}
\end{frame}
\end{document}
Best Answer
As Joseph Wright pointed out, I can confirm that this is a bug in
media9.sty
, if you replace"\msg_error:nnxx{media9}{file~not~found}{#1}"
by"\msg_error:nnn{media9}{file~not~found}{#1}"
, there will be no error. However this points out to the fact that your file 'c4.mp4' doesn't exists or is not found.