Skip to main content
Participant
September 17, 2015
Answered

Placing vimeo or youtube video in interactive PDF InDesign CC

  • September 17, 2015
  • 1 reply
  • 43493 views

Hello!

I have read several articles on this but can't find a way to solve this:

I am creating an interactive PDF using InDesign CC and would like to embed vimeo and youtube videos to play directly from the file. When I insert the URL it does not work because it starts with https://  (not http://) . Obviously erasing the "s" doe not solve the problem because it says it is not compatible with Flash Player.

Is there anyway I can solve this??

I decided to create an interactive PDF only because I wanted to be able to embed online videos!

Correct answer Dave Merchant

You can't. Many years ago YouTube had a Flash-based API which allowed direct playback of an embedded video inside a parent SWF file (the only way to do it in a PDF), but it also allowed people to bypass the advertising, so they closed it down. The current API only supports HTML embedding for web pages.

The 'embed' URL for sites like YouTube and Vimeo is a link to their web page, not to the video file itself (legally you cannot link directly to the video stream so we're not going to explain how it might be done). Acrobat's video player will only accept a URL that points to the video file or to an RTMP stream connector, which is why the URL must end in a valid extension such as ".mp4"

The only options are:

  1. Embed the entire video file into the PDF - assuming you have a copy and have the rights to publish it. Easiest to do but the file size may be a problem.
  2. Host the video file on your own website and put the HTTP link into the annotation dialog (simple but anyone can download a copy, so it's not secure).
  3. Stream the file using Adobe Media Server (secure but very expensive).

1 reply

Dave MerchantCorrect answer
Legend
September 18, 2015

You can't. Many years ago YouTube had a Flash-based API which allowed direct playback of an embedded video inside a parent SWF file (the only way to do it in a PDF), but it also allowed people to bypass the advertising, so they closed it down. The current API only supports HTML embedding for web pages.

The 'embed' URL for sites like YouTube and Vimeo is a link to their web page, not to the video file itself (legally you cannot link directly to the video stream so we're not going to explain how it might be done). Acrobat's video player will only accept a URL that points to the video file or to an RTMP stream connector, which is why the URL must end in a valid extension such as ".mp4"

The only options are:

  1. Embed the entire video file into the PDF - assuming you have a copy and have the rights to publish it. Easiest to do but the file size may be a problem.
  2. Host the video file on your own website and put the HTTP link into the annotation dialog (simple but anyone can download a copy, so it's not secure).
  3. Stream the file using Adobe Media Server (secure but very expensive).
celias56606530
Participant
December 11, 2017

Is this still the case now? Has anyone found a work-around solution? I've tried the copy and paste option recommended by Lynda.com and that doesn't work for us either. The goal is for our developer to take my interactive PDF with YouTube videos and create flip books using flippingbook.com. If anyone can help, we'd greatly appreciate it. Thanks!

Joel Geraci
Community Expert
Community Expert
December 11, 2017

You're going to need to do this in two stages, create the flip book from PDF with placeholders for the videos. Then add the videos back in.