\begin{figure}
\animategraphics[autoplay,loop]{10}{anim-}{0}{11}
\end{figure}
I have anim-0.png to anim-11.png images. And I have included
\usepackage{animate}
\usepackage{graphics}
Still I am getting still image on previewing.
\documentclass[compress]{beamer}
\usepackage[utf8x]{inputenc}
\usepackage[english]{babel}
\usepackage{default}
\usepackage[toc,page]{appendix}
\usepackage{enumerate}
\usepackage{amssymb,amsmath,graphicx,tikz,movie15}
\usepackage{hyperref}
\usetheme{Ilmenau}
\usecolortheme{dolphin}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{animate}
\usepackage{graphics}
\title{Data\\}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Introduction}
\begin{frame}
\frametitle{2D Animation}
\begin{figure}
\animategraphics[autoplay,loop]{10}{anim-}{0}{11}
\end{figure}
\end{frame}
\end{document}
\documentclass{...}
and ending with\end{document}
.graphics
is outdated, you should usegraphicx
instead. Andhyperref
should basically be the last package to be loaded. The compilation stops atsubcaption
and the 'anim' files are not available.