I'm fairly new to LaTex and have to construct a beamer presentation. As part of my presentation, I want to include three videos side by side. To try to figure out how to do this, I have been scouring the internet looking for help. While doing that, I came across this question. However, when I tried to implement those suggestions, they still didn't seem to play properly. The code for the specific frame is included below - note that I previously had the presentation on PowerPoint and saved each of the videos as .mp4 files and their starting images as .png files. My two attempts are shown below:
\begin{frame}{movie}
\frametitle{Experiments}
\begin{figure}
\raggedleft
\includegraphics[width=.5\textwidth,height=.1\textwidth]
{parameters.png}
\end{figure}
\large \underline{Water/SDS} \newline
\fbox{\begin{minipage}{.3\linewidth}
\centering Heading A
\includemedia[label = AA,
width = \linewidth,
height = 20mm,
activate = pageopen]{\includegraphics{video1.png}}
{video1.mp4}
\end{minipage}}
\fbox{\begin{minipage}{.3\linewidth}
\centering Heading B
\includemedia[label = BB,
width = \linewidth,
height = 20mm,
activate = pageopen]{\includegraphics{video2.png}}
{video2.mp4}
\end{minipage}}
\fbox{\begin{minipage}{.3\linewidth}
\centering Heading C
\includemedia[label = BB,
width = \linewidth,
height = 20mm,
activate = pageopen]{\includegraphics{video3.png}}
{video3.mp4}
\end{minipage}}
\end{frame}
This compiles fine and appears exactly as I want it to. The problem is the videos don't actually play. I also tried just using something like:
\begin{frame}
\movie[externalviewer]{\includegraphics[width=.3\textwidth]{video1.png}}
{video1.mp4}
\movie[externalviewer]{\includegraphics[width=.3\textwidth]{video2.png}}
{video2.mp4}
\movie[externalviewer]{\includegraphics[width=.3\textwidth]{video2.png}}
{video2.mp4}
\end{frame}
Again, all three images pop up next to each other like I would want, however, again they won't actually play. Is there something obvious I'm missing or doing wrong? And/or does anyone know how I can fix this? Appreciate any advice!
Also just to mention I do include:
\usepackage{multimedia}
\usepackage{media9}
\addmediapath{./Movies/}
at the top of my .tex document. Should I have anything else?
media9packages says: "Adobe Reader, version ≥ 9, but not greater than 9.4.1 on Linux; Foxit Reader (Flash, video, audio)". The problem is obvously that playing videos in PDF needs Flash which is no longer supported. – Jasper Habicht Dec 19 '21 at 21:50