the code seems to be correct, with compilation no error appears.
The code is
\documentclass{beamer}
\usetheme{Singapore}
\usepackage{media9}
\usepackage{hyperref}
\begin{frame}\frametitle{Title}
\includemedia[
width=\paperwidth,height=0.7\linewidth,
activate=pageopen,
flashvars={movie.mp4 &autoPlay=true}
]{}{movie.mp4}
\end{frame}
\end{document}
He won't play the video and with no error I don't know what to do. Please anyone has an idea? I use adobe reader 9.4.2.
Best Answer
The code is not correct. Playback of a video file (
movie.mp4
) needs a Flash-based media player to be included as the last argument of\includemedia
. The video file itself must be embedded as a resource file and be made known to the media player by means of a media player specific Flash variable.Adobe Reader on Linux has support for Flash and media playback up to version 9.4.1. It was dropped thereafter. The built-in Flash player of AR-9.4.1 supports Flash content up to Flash version 9. However, the media players shipping with
media9
require Flash Player 10.player_flv_maxi.swf is Flash Player 9 compatible and can be used with
media9
and AR-9.4.1 on Linux. Its FlashVars for configuration are documented here. The most important FlashVar is the one for setting the video source. Here it is calledflv=...
.AR-9.4.1 for Linux can be downloaded from Adobes FTP server.
Here is your adapted code example that should work: