![在投影仪演示中添加 mp4 视频,并在 Okular 上演示时播放视频](https://linux22.com/image/422487/%E5%9C%A8%E6%8A%95%E5%BD%B1%E4%BB%AA%E6%BC%94%E7%A4%BA%E4%B8%AD%E6%B7%BB%E5%8A%A0%20mp4%20%E8%A7%86%E9%A2%91%EF%BC%8C%E5%B9%B6%E5%9C%A8%20Okular%20%E4%B8%8A%E6%BC%94%E7%A4%BA%E6%97%B6%E6%92%AD%E6%94%BE%E8%A7%86%E9%A2%91.png)
我正在使用以下代码将 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 进行演示!