I have been experimenting with the sample of code from LaTeX beamer presentation. At this point let me clarify that I know that this is a deprecated module and that I should be using media9 and not movie15, but I have spend 2 days trying to make it work with all these configurations but none of the sample of codes that I found online worked for me e.g. How to include multimedia files in beamer or Embedding Videos in LaTeX Beamer or Using media9 to include videos files or Video in a Presentation etc...etc...so I gave up on the idea and switched to the deprecated module.
Sample of working code from LaTeX beamer presentation slightly modified:
\documentclass{beamer}
\usepackage[3D]{movie15}
\usepackage[UKenglish]{babel}
\usepackage{lmodern}
% \usepackage{hyperref} % update based on comments
\usepackage{graphicx}
%% See: http://en.wikibooks.org/wiki/LaTeX/Presentations
%% See: http://www.hartwork.org/beamer-theme-matrix/
\usetheme{Copenhagen}
\usecolortheme{beaver}
\hypersetup{
pdfauthor={Thanos},
pdftitle={Simple Beamer Class},
pdfsubject={Subject},
pdfkeywords={Key} {Words} {List},
urlcolor=blue,
}
\author{Thanos} % updating based on comments
\begin{document}
\title{Simple Beamer Class}
% \author{Thanos}
\date{\today}
\frame{\titlepage}
\frame{\frametitle{Table of contents}\tableofcontents}
\section{Movie}
\frame{\frametitle{Pymol Movie object}
\begin{figure}[!htb]
\centering
\includemovie[
poster,
toolbar, %same as `controls'
text={\includegraphics[width=0.8\textwidth]{samplePicture.eps}}
% text={\phantom{\includegraphics[width=0.8\textwidth]{samplePicture.eps}}} % update based on comments
]{10cm}{6cm}{SampleVideo.mp4}
\caption{A PyMOL movie object embedded in PDF, using mpg format.}
\label{mov:ex3d}
\end{figure}
}
\section{Lists}
\subsection{Lists I}
\frame{\frametitle{Unnumbered lists}
\begin{block}{My bloc}
test of bloc
\end{block}
\begin{itemize}
\item Introduction to \LaTeX
\item Beamer class
\end{itemize}
}
\end{document}
My question is how to add a picture on the video. Based on the documentation of the package The movie15 Package page 6 shows that we can add a picture with the following part text={\phantom{\includegraphics[scale=2]{path/to/poster}}}.
After compiling the code is working and the video is playing but the picture is not displayed is there any workaround this problem?
A minor note to make here, I am also getting this error:
hyperref: Option 'pdfauthor' has already been used,
I searched online and I found this thread The \titlepage problem in beamer, the proposed solution did not work for me, or How to get rid of those beamer warnings, or Errors with Beamer not understandable. This is not something important I know this is only a warning but since I am asking the question why not trying to resolve all of my questions.
Update:
I forgot to include my Latex version:
$ pdflatex --version
pdfTeX 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian)
kpathsea version 6.2.3
Copyright 2017 Han The Thanh (pdfTeX) et al.
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.29; using libpng 1.6.29
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.41.0
Update2
Adding video.log file, download here (video.log).
Update3
Sample of output based on comment (removing \phantom).
Update4
Sample of code for package media9:
\listfiles
\documentclass{beamer}
\usepackage{media9}
\usepackage[UKenglish]{babel}
\usepackage{lmodern}
\usepackage{graphicx}
%% See: http://en.wikibooks.org/wiki/LaTeX/Presentations
%% See: http://www.hartwork.org/beamer-theme-matrix/
\usetheme{Copenhagen}
\usecolortheme{beaver}
\hypersetup{
pdfauthor={Thanos},
pdftitle={This is the title},
pdfsubject={Pdf Subject},
pdfkeywords={Key} {Words} {List},
urlcolor=blue,
}
\begin{document}
\title{Sample of media9 attempt}
\date{\today}
\frame{\titlepage}
\frame{\frametitle{Table of contents}\tableofcontents}
\section{Movie}
\frame{\frametitle{Movie using media9}
\begin{figure}[!htb]
\includemedia[
%activate=onclick, % default
addresource=sampleVideo.mp4,
flashvars={
source=sampleVideo.mp4
&autoPlay=true % start playing on activation
&loop=true
},
passcontext %show player's right-click menu
]{\includegraphics[height=0.45\linewidth]{samplePicture.eps}}{VPlayer9.swf}
\caption{A media9 package movie embedded in PDF, using mp4 format.}
\label{mov:ex3d}
\end{figure}
}
\end{document}
Adding video.log file, download here (videoMedia9.log).


hyperref: Option 'pdfauthor' has already been usedis caused by using\authorafter\begin{document}. Use it before if you want to avoid the warning. – samcarter_is_at_topanswers.xyz Mar 21 '18 at 20:47\usepackage{hyperref} \usepackage{graphicx}with beamer. – samcarter_is_at_topanswers.xyz Mar 21 '18 at 20:47\authoretc. before\begin{document}you would not need\hypersetup{...}– samcarter_is_at_topanswers.xyz Mar 21 '18 at 20:50[!htb]in a document class without floats does not make sense. Figures are centred by default in beamer, so\centeringis unnecessary. – samcarter_is_at_topanswers.xyz Mar 21 '18 at 20:51\phantom? – samcarter_is_at_topanswers.xyz Mar 21 '18 at 22:03media9-related problem? – AlexG Mar 22 '18 at 05:41\phantomsee my update and also screen shot of the output now. – Thanos Mar 22 '18 at 09:51
– Thanos Mar 22 '18 at 10:17$ tlmgr update --all (running on Debian, switching to user mode!) tlmgr: package repository http://mirrors.nic.cz/tex-archive/systems/texlive/tlnet (verified) tlmgr: no updates availablemedia9to your question? Put\listfileson its top, runpdflatexand post the file list from the*.logas well. – AlexG Mar 22 '18 at 10:31\listfilessee the update. The pdf contains the picture but it does not play the video. So I am bit lost on why. This is why I switched to the movie15 package. – Thanos Mar 22 '18 at 11:07media9, sorry. On Linux there is no AR available anymore; you could try running AR for Windows inside Wine)? – AlexG Mar 22 '18 at 11:16A 3D data parsing error has occurred. Trying to get more information on how to fix this problem. – Thanos Mar 22 '18 at 11:24media9implements. (Still being AR's standard.) – AlexG Mar 22 '18 at 11:31