I have a slide with an animation with autoplay on the top and two graphs at the bottom. The graphs appear in two stages. At the moment, the animation restart when I go to the second step, how I can prevent that? To be clearer, I would like the animation to stay on its last frame (instead of restarting) as I advance to the second part of the slide.

The code so far:

\frametitle{Example 1}


} %%%
  • 1
    I think this is in principle very difficult (each slide is a page in its own). However, I guess you can emulate it by making the other pictures to an animation (albeit, you have to either time perfectly or press them to run them).
    – nickpapior
    Commented Mar 19, 2013 at 11:31
  • 3
    Maybe you could put your animation on a \only<1>{} environment and put a picture of the same size (eg: the last frame of the animation) in a \only<2>{} to replace the animation... Or even better perhaps, put the animation again in a \only<2>{} but without autoplay Commented Mar 19, 2013 at 12:20
  • I tried to use the option 'startat' in \includemovielike this, but it was unsuccessful: \only<1>{\includemovie[autoplay,mouse]{10em}{7em}{Pics/bar_cubic.avi}} \only<2>{\includemovie[startat=time:6,autoplay,mouse]{10em}{7em}{Pics/bar_cubic.avi}}
    – Julot
    Commented Mar 20, 2013 at 10:21

1 Answer 1


Short answer: you can't. (At least not in any simple way: see below.)

Each slide generated by beamer (or any other route to a PDF presentation from TeX) is a separate page in the PDF file. As such, the animations on different slides are separate as far as the viewer application is concerned. Thus they will always restart when you advance a page.

I guess there are a couple of possible 'get outs'. First, modern PDFs support 'optional content groups (OCGs) when allow variability of the material on a page. However, beamer doesn't generate those and indeed I'm not sure they would work for the case here. The second possible get out is to use JavaScript to tie things together. This is viewer-dependent, again not done by beamer and has a reputation for being not 100% reliable. Certainly neither of these approaches are available 'built in' to beamer (you'd have to code yourself) and I'm not even sure either would work!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .