2

I have a presentation from 2 years ago which embeds MP4 videos into a PDF document generated with LuaLaTeX using the multimedia and media9 packages. Now, two years later, the document is still generated without issues, but my PDF viewer evince does no show the videos. I assume that is because of the removal of Flash support, which seems necessary for the kind of embeddings (or what are they? The document used to not work when separated from the videos, I think, so I assume the movie is not actually packaged with the PDF) used by media9.

My embedding commands look like

  \movie[width=\textwidth,height=0.7\textwidth
      ]{\includegraphics[height=0.7\textwidth]{Bruder.png}
    BRUDER\footnote[frame]{Boyes Braem, P. (1992)}
  }{bruder.mp4}

What is the laziest replacement for media9 I can use to make these video embeddings work again?

  • 1
    For Evince, the only option seems to be \href{run:bruder.mp4}{\includegraphics[height=0.7\textwidth]{Bruder.png}}, that is, playback in an external video player. – AlexG Oct 25 '18 at 13:44
  • Hm, time to look at some other PDF viewers then. – Anaphory Oct 25 '18 at 13:57
  • 1
    Did you check out Okular? – AlexG Oct 25 '18 at 14:00
  • No, for now I had assumed that I want to solve the problem on the TeX side, but I will check it now. – Anaphory Oct 25 '18 at 14:04
  • You can't really solve this in the TeX side. Features like media playback and JavaScript are viewer-dependent and mostly unsupported/not implemented. Acrobat and Okular are the viewers which do support the majority of what you would want to do with PDF. – TeXnician Oct 25 '18 at 14:58
3

You can't really solve this on the TeX side. Features like media playback and JavaScript are viewer-dependent and mostly unsupported/not implemented. Acrobat and Okular are the viewers which do support the majority of what you would want to do with PDF.

  • 1
    Except PDF Layers. Here, Evince outpaces Okular. – AlexG Oct 29 '18 at 19:33
  • @AlexG That might be, but is LaTeX able to really make use of them (I only remember ConTeXt doing that)? – TeXnician Oct 29 '18 at 19:52
  • 1
    Package ocgx2 provides everything needed. – AlexG Oct 30 '18 at 5:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.