How to loop video clip in beamer

1,833 views
Skip to first unread message

Bob Alexander

unread,
Dec 14, 2011, 12:12:33 AM12/14/11
to LaTeX Beamer class
I am creating a presentation using beamer and would like to have my
embedded video clip automatically play on a loop. I can get the video
to appear and play in the pdf; however, it does not loop. I have tried
different video formats (mp4,mpg,avi), all would play but none would
loop. According to the beameruserguide.pdf, repeat should have the
same effect as loop. Below is a minimum working example:

\documentclass{beamer}
%%%% PREAMBLE
\usetheme{Warsaw}
\useinnertheme{rectangles}
\setbeamercovered{transparent}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{multimedia}
\usepackage{hyperref}
\title{Short Paper Title}
\author{Author's Name}
\institute[University of LaTeX]{
Department of Computer Science\\
Graphics Lab}
\begin{document}
%------------------- TITLE PAGE FRAME -------------------%
\begin{frame}[plain]
\titlepage
\end{frame}
%------------------------ slide -------------------------%
\begin{frame}
\frametitle{The frame title}
\begin{center}
\movie[width=9.1cm,height=6.5cm,showcontrols=true,loop,poster]{}
{video1.mp4}
\end{center}
\end{frame}
\end{document}

Obviously, one would need to have the file "video1.mp4" on their local
system to test this script.

Sivaram Neelakantan

unread,
Dec 15, 2011, 1:21:08 AM12/15/11
to beamer...@googlegroups.com
On Wed, Dec 14 2011,Bob Alexander wrote:

> I am creating a presentation using beamer and would like to have my
> embedded video clip automatically play on a loop. I can get the video
> to appear and play in the pdf; however, it does not loop. I have tried
> different video formats (mp4,mpg,avi), all would play but none would
> loop. According to the beameruserguide.pdf, repeat should have the
> same effect as loop. Below is a minimum working example:
>
> \documentclass{beamer}
> %%%% PREAMBLE
> \usetheme{Warsaw}
> \useinnertheme{rectangles}
> \setbeamercovered{transparent}
> \usepackage{amsmath}
> \usepackage{graphicx}
> \usepackage{multimedia}
> \usepackage{hyperref}

Well, if it didn't work, why don't you try movie15 or the animate
package and see whether that helps? Comment out the multimedia
package invocation and try, of course.

[snipped 20 lines]

> Obviously, one would need to have the file "video1.mp4" on their local
> system to test this script.
>


sivaram
--

Reply all
Reply to author
Forward
0 new messages