Is there any way to overlay an image over an animation (like in webpages) in beamer using either
ainmategraphics,\begin{animateinline},\movie or \includegraphics
together with
tikzpicture
Is there any way to overlay an image over an animation (like in webpages) in beamer using either
ainmategraphics,\begin{animateinline},\movie or \includegraphics
together with
tikzpicture
Any plugin-based animation (multimedia
, media9
, movie15
) plays in a separate layer on top of the page content and cannot be overlaid by typeset material or embedded graphics or images, irrespective of the order of occurrence in the document source file. It always bubbles up to the top layer (foreground) when activated.
animate
-generated animations can play in the background of other material if the OCG method is used (package or command/environment option method=ocg
). However, achievable frame rates may become lower as compared to the standard icon
animation method, in particular when combining complex animations and rich page content, because the complete page has to be re-rendered with every animation frame refresh.
Example (↗ShareLaTeX):
\documentclass{article}
\usepackage{animate}
\usepackage{graphicx,color}
\begin{document}
\makebox[0pt][l]{\begin{animateinline}[autoplay,width=3cm,loop,method=ocg]{2}\multiframe{10}{i=0+1}{\strut\i}\end{animateinline}}
\rotatebox{60}{\makebox[0pt][l]{\Huge\color{red}Hello World}}
\end{document}