在投影仪演示中添加 mp4 视频,并在 Okular 上演示时播放视频

在投影仪演示中添加 mp4 视频,并在 Okular 上演示时播放视频

我正在使用以下代码将 mp4 嵌入到 beamer 演示文稿中:

\documentclass{beamer}

\mode<presentation> {

\usetheme{Madrid}

\usepackage{multimedia}
\usepackage{tikz}


}

\usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and


\usepackage{graphicx}
\usepackage{multimedia}





\begin{document}


%----------------------------------------------------------------------------------------
%   PRESENTATION SLIDES
%----------------------------------------------------------------------------------------

%------------------------------------------------
\section{First Section} % Sections can be created in order to organize your presentation into discrete blocks, all sections and subsections are automatically printed in the table of contents as an overview of the talk
%------------------------------------------------

\subsection{Subsection Example} % A subsection can be created just before a set of slides with a common theme to further break down your presentation into chunks

\begin{frame}
\centering
\movie[label=cells,width=5cm,height=4cm,loop,poster,showcontrols]{\includegraphics[width=5cm,height=4cm]{fig2.jpg}}{fig2.mp4}
\end{frame}


\end{document} 

我正在将其编译到 overleaf 中,它会生成一个 pdf,我正尝试将其显示在 Okular 中。一切都很好,直到我尝试播放 mp4 视频时,它无法打开,尽管此时 pdf 看起来有视频(我的光标变成了通常的尖头)。有人能帮忙吗?

*我正在尝试使用 Windows 10 进行演示!

相关内容