我使用以下代码将视频嵌入到投影仪演示文稿中
\documentclass[aspectratio=169]{beamer}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{caption}[numbered]
\usepackage{multimedia}
\usepackage{media9}
\begin{document}
\begin{frame}{}{}
\centering
\includemedia[
width=0.4\linewidth,
totalheight=0.225\linewidth,
activate=pageopen,
passcontext, %show VPlayer's right-click menu
addresource=video.avi,
flashvars={
%important: same path as in `addresource'
source=video.avi
&autoPlay=true
}
]{\fbox{Click!}}{VPlayer.swf}
\end{frame}
\end{document}
然而,尽管代码编译时没有错误,但当我尝试通过奥库拉视频没有显示。我错过了什么?