Skip to content

Instantly share code, notes, and snippets.

@dannyedel
Last active August 24, 2020 02:38
Show Gist options
  • Save dannyedel/a79afab438c9655b9f99 to your computer and use it in GitHub Desktop.
Save dannyedel/a79afab438c9655b9f99 to your computer and use it in GitHub Desktop.
example latex-beamer presentation containing media
Display the source blob
Display the rendered blob
Raw
\documentclass{beamer}
\usepackage{movie15}
%for split-view presentation with dspdfviewer
\usepackage{pgfpages}
\setbeameroption{show notes}
\setbeameroption{show notes on second screen=right}
\begin{document}
\title{Embedded Media Example}
\author{Author}
\date{\today}
\frame{\titlepage}
\frame{\frametitle{Table of contents}\tableofcontents}
\section{Example section}
\frame{\frametitle{Example Title}
Content bla
}
\section{Embedded Media}
\subsection{Video}
\frame{\frametitle{Video}
\begin{center}
\includemovie[autoplay,poster,url,textoverposter=true,text={\includegraphics[width=.3\textwidth]{cm.png}},controls=true,toolbar=true]{}{}{annot.avi}\\
Click me!
\end{center}
}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment