It's the first time that I'm using beamer to prepare my defense presentation. This is the beamer template that I'm using : template (pdflatex
version). In fact, I need to include several videos (.avi
) in my presentation. I've already tried the different ways proposed in this question. None of them worked :
\begin{frame}{test.video}
\includemedia[activate=pageopen,
width=200pt,height=150pt]{}{resources/video.avi}
\end{frame}
or
\begin{frame}{test.video}
\movie[width=8cm,height=4.5cm]{play the video}{video.avi}
\end{frame}
or
\begin{frame}{test.video}
\includemedia[
width=0.4\linewidth,
totalheight=0.225\linewidth,
activate=pageopen,
passcontext, %show VPlayer's right-click menu
addresource=video.avi,
flashvars={
%important: same path as in `addresource'
source=video.avi
}
]{\fbox{Click!}}{VPlayer.swf}
\end{frame}
\begin{frame}{test.video}
\includemedia[
activate=pageopen,
width=200pt,height=150pt,
addresource=video.avi,
flashvars={%
source=video.avi% same path as in addresource!
% &autoPlay=true% % optional configuration
% &loop=true% % variables
}
]{}{VPlayer.swf}
\end{frame}
and the last one that I tried and was unsuccessful :
\begin{frame}{test.video}
\includemovie{.85\textheight}{.85\textheight}{video.mp4}%
\end{frame}
They all create a white empty box that does not do anything. I have converted the videos to .mp4
, this did not help either. I have installed flash-player for adobe (version 2019.010.20091
). My operating system is : macOS High Sierra V. 10.13.6
. Your help would be greatly appreciated.
Best Answer
You mentioned in a comment that you generated the video from a series of images. Instead of trying to include the video, I would simply include the images directly.
A short example: