beamer icon indicating copy to clipboard operation
beamer copied to clipboard

Higher overlay specs break movie15's \includemovie

Open ojura opened this issue 3 years ago • 1 comments

If items preceding \only<X>{\includemovie} have overlay spec strictly higher than X, let's say Y > X, then the movie does not appear. It looks like it thinks the movie should appear on slide Y instead of X.

Minimal test case: https://www.overleaf.com/read/pxvrsdgjscbc

\documentclass[draft]{beamer}

% Yeah, it's obsolete, but media9 is even more so now that Flash is dead
\usepackage{movie15}

% Notes from movie15:
% 1. Options `autopause' and `autoresume' should be set, as this prevents the
%    movie from being rewound when passing from one overlay to the next.
%%%%% -> BTW I never got this to work, overlays always reset movies for me, tried in Okular and pympress.

\begin{document}
\begin{frame}[t]
  \frametitle{Cool video frame}

   Here is a cool movie coming up. 
   
   % This breaks the movie.
   \visible<3->{That was a cool movie, eh?}
   
   % This wouldn't break it, but the overlay spec cannot be after the movie
%   \visible<2->{That was a cool movie, eh?}

  \only<2>{
    \centering
    \includemovie[url]{0.8\linewidth}{.45\linewidth}{coolmovie.mp4}}
    
  % This works, but limits us to only specify stuff after \includemovie 
%  \visible<3->{That was a cool movie, eh?}
  
\end{frame}
\end{document}

What happens: image

The expected result can be obtained only by placing \visible<3->{That was a cool movie, eh?} after \includemovie (uncommenting the last one). image

ojura avatar Nov 02 '21 20:11 ojura

Cross referencing the question on LaTeX Stack Exchange: https://tex.stackexchange.com/questions/621084/higher-overlay-specs-break-movie15s-includemovie

ojura avatar Nov 02 '21 21:11 ojura