I have a file movie.gif that I converted into movie.mp4.
I'd like to add it to my Beamer presentation.
I tried:
\documentclass[10pt, aspectratio=169]{beamer}
\usefonttheme{serif}
\usepackage{multimedia}
\usepackage{media9}
\begin{document}
\includemedia[
label=vid,
addresource=movie.mp4,
activate=pageopen,
width=5cm, height=4cm,
flashvars={
source=movie.mp4
&loop=true
}
]{}{VPlayer.swf}
\mediabutton[
mediacommand=vid:playPause,
]{\fbox{Play/Pause}}
\end{document}
Do you know why this would not work`? Help would be really appreciatedd!
EDIT: I tried several approaches:
\documentclass{beamer}
\usepackage{xmpmulti}
\begin{document}
\begin{frame}
\transduration<0-10>{0}
\multiinclude[<+->][format=png, graphics={width=\textwidth}]{something
\end{frame}
\end{document}
This produces many slides...
Another approach:
\documentclass{beamer}
\usepackage{animate}
\begin{document}
\begin{frame}{Embedded Animation}
\animategraphics[loop,controls,width=\linewidth]{10}{something-}{0}{16}
\end{frame}
\end{document}


()around the number. The files should be calledsomething-1.pngtosomething-73.pngand then try\begin{frame} \transduration<0-72>{0} \multiinclude[<+->][format=png, graphics={width=\textwidth},start=1]{something} \end{frame}If you have adobe reader, it will need to be used in presentation mode for the automatic changing between slides. – samcarter_is_at_topanswers.xyz Nov 16 '23 at 14:15https://github.com/pdfpc/pdfpc(and there: Sample presentations --> Embedded movies). This could also help to find out if (or not) it is your viewer. – BanDoP Nov 16 '23 at 14:43@username. Otherwise they don't get notified about your replies. – samcarter_is_at_topanswers.xyz Nov 16 '23 at 15:31properly embed the images? – samcarter_is_at_topanswers.xyz Nov 16 '23 at 15:31\transduration{0}will automatically change the slide and thus create an animation. In my opinion, that's the safest approach. Worst case, you can still manually switch the slides. If you only want a single slide, try the code by @AlexG – samcarter_is_at_topanswers.xyz Nov 16 '23 at 15:49