In this answer there was a good solution to the question Is it possible to embed a YouTube video using LaTeX?

Unfortunately, since some days, it do not work more. The result, in the PDF, is this one:

Result in the PDF

obtained with \usepackage{media9} in the preamble and with this code:

        modestbranding=1  % no YT logo in control bar
        &autohide=1       % controlbar autohide
        &showinfo=0       % no title and other info before start
    ]{}{http://www.youtube.com/v/CRgiA1XcRRg?rel=0}   % Flash file
    \caption{Zombie Nation---studio recording `Acid Yoga' con Roland System 700.}

This problem is caused because YouTube - as several other streaming services - do not support more Flash, and now use HTML5.

There is somebody know a way to embed a YouTube streaming in a LaTeX document, now?

  • 2
    What a pitty! Currently there is no support for HTML5 in the PDF specification, and thus no plugin at least for A-Reader available. – AlexG Sep 28 '17 at 14:58
  • 1
    Do you know whether dropping Flash by YouTube was announced somewhere? – AlexG Sep 28 '17 at 14:59
  • @AlexG Unfortunately yes: youtube.com/html5. – Giacomo Alessandroni Sep 28 '17 at 15:04
  • 1
    Well, this is only the announcement of the YT html5 player which coexisted with the YT Flash based player for several years. – AlexG Sep 28 '17 at 15:08
  • Yes, but is the only that I have found. And in acrobatusers.com/forum/pdf-creation/embed-html5-videos-pdf I have read that "there is no longer a definition in the RFC as to what codecs should be supported, and many videos being posted to HTML5 sites at the moment use Google's "WebM" format - although Adobe have confirmed future support for this codec in Flash Player, it's not supported by Acrobat yet". – Giacomo Alessandroni Sep 28 '17 at 15:16

Your Answer

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

Browse other questions tagged or ask your own question.