I am trying to embed a video in a presentation. Currently, I am using media9
:
\documentclass[presentation]{beamer}
\usepackage{media9}
\begin{document}
\begin{frame}
\begin{figure}[H]
\centering
\includemedia[
width=\linewidth,
height=0.5\linewidth,
addresource=test.avi,
transparent=true,
flashvars={
source=test.avi
&autoPlay=false
&autoRewind=false
&loop=false
}
]{Video}{VPlayer.swf}
\end{figure}
\end{frame}
\end{document}
I am using Ubuntu 20.04 and Okular as PDF reader.
When the video is played and arrives at the last frame, it automatically rewinds to the beginning. I want it to stop at the last frame. Using the command \movie
from multimedia
package with options open
and/or once
does not work either; the video also rewinds automatically. Using package animate
does not work either, because of this bug. Neither does package movie15
.
Is there a way to make a video stop at the last frame? I do not mind to use any other packages (or perhaps any other PDF readers), I just want the video to start when I click and then to stop at the last frame without automatically rewinding.