From the course: InDesign Secrets
298 How to embed a YouTube video - InDesign Tutorial
From the course: InDesign Secrets
298 How to embed a YouTube video
- [Instructor] As you know, InDesign is not just for print. You can create amazing interactive documents too. Like sales presentations, ebooks, or magazines. And one of the most common questions I hear when people are creating a digital onscreen publication is can I put a YouTube video into it? Well, it's a good question, because there is no obvious way to import one. You can't use the place command from the file menu of course, because this only lets you place files from disc, and the YouTube video is not on my disc. You might try the media panel, and in fact if I go to the window menu and then choose interactive and then media, you'll see that there is an option inside the media panel menu for video from URL. Unfortunately, this only works when you point to a video file on a server. And it only works with a small number of file formats. So, YouTube videos don't work here. Let's go ahead and close that. The good news is, there is a way to get a YouTube video in, and it's actually really easy. The trick is to simply copy and paste. Here, let me show you. First, before I switch to YouTube, I want to check what size of video I want. That is, how large do I want it on my page? And it's important to do that first because it's a real pain to resize it once it's on the page in InDesign. So I want to place it here, on top of this white frame. And I can see that this frame is 300 pixels wide. I can see that by looking up here in the control panel. Now, if your control panel doesn't show pixels, you want to change it so that it does. And you can do that by right clicking on the horizontal ruler across the top of the document window. When you right click, you see a list of a bunch of different measurement systems that you can use. I chose pixels. Alright, I want my video to be about 300 pixels wide. So now I'll switch over to my web browser, and I can see a video that I want to use. To drop this into InDesign, I need to copy the embed code, and it's really easy to find that on YouTube. You simply come down here and click Share, and then click embed. Now, before I copy that embed code, I need to change the size of the video. So I'll click show more. Now I'll scroll down here a little bit, and I can change my video size from one of these other sizes to custom size. Now I simply type in the value I want. I want this to be 300 pixels wide, and when I hit tab, it figures out the other field for me. There are of course a number of other controls you can set in here, but for right now I'm simply going to scroll up, grab this text up here by pressing command A or control A on Windows, copy it to the clipboard, with a command C or control C on Windows, and then switch back to InDesign. Alright, now all I have to do is paste with a command V or control V on Windows. And at first I just see this little gray square in the middle of the page. Or, you might just see the cursor spinning. But wait, it sometimes takes like 20 or 30 seconds, but InDesign is doing its magic behind the scenes, and you just have to wait for a bit, and then, the video shows up. Well, technically you can't see or play the video on the page, but it does give you this preview. But check this out. This will play inside the EPUB interactivity preview panel. And I can find that by going to the window menu, choosing interactive, and then choosing EPUB interactivity preview. There we go, it shows me a preview of this interactive document, and there's my YouTube video right in the middle. And if I click that play button, it will play inside this panel. Isn't that great? So, okay, the video is on my InDesign page. Let's go ahead and close this panel, and I'm simply going to move this frame into position. Great. So now, how do I get this out of InDesign? Well, the video is inside, it's embedded in HTML, right? So for now, as I'm recording this, HTML like this isn't working in PDF files yet. I'm pushing Adobe to enable that, because it would be really cool. But you can export HTML inside a fixed layout EPUB file, or using Publish Online. Actually I should say that external videos like this do have trouble in some EPUB readers, for example Apple iBooks, but it does work inside Adobe's own EPUB reader called Digital Additions. Ultimately, I find the best option is exporting to Publish Online with this button up here. Now if you haven't used this feature before, and you want to learn more about Publish Online, Diane Burns has a whole title on this feature here in the online training library. In this case, in order to save time, I've already exported this as a Publish Online document, which you can see over here in my web browser. There you go, there's my page from InDesign, there's the video, and it plays great. Oh, and I should add that it doesn't have to be YouTube. If you use Vimeo or another video sharing service, that copy and paste embed trick also works. Video inside digital InDesign documents isn't perfect yet, and I'm looking forward to when it works with more outputs. But the fact that I can embed that code into InDesign is awesome when it comes to making rich interactive pages.
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Contents
-
-
229 Batch converting ID files to current version with the Book panel6m 9s
-
230 Getting around InDesign limitations6m 46s
-
(Locked)
231 Creating better callout lines with effects and object styles5m 47s
-
232 Swapping column and row information in tables6m 9s
-
(Locked)
233 Making bigger text link targets4m 52s
-
-
-
161 Keeping page numbers on top of master items3m 55s
-
162 Adding automatic currency symbols in a table cell or before text3m 50s
-
(Locked)
163 Make a pop-up footnote for your ebook3m 48s
-
(Locked)
164 Deleting tabs at the beginning of paragraphs and applying a paragraph style3m 10s
-
(Locked)
165 Five InDesign Presentation tips6m 28s
-
-
-
(Locked)
111 Packaging images on the pasteboard3m 32s
-
(Locked)
112 Automatically updating figure references for books6m 9s
-
(Locked)
113 Adding Tool Tips to your form fields in InDesign3m 21s
-
(Locked)
114 Setting poetry, flush left, center on longest line3m 54s
-
(Locked)
115 Use bookmarks to navigate long documents in production4m 57s
-
(Locked)
-
-
(Locked)
107 Using the same keyboard shortcut for two different commands with the Context feature5m 22s
-
(Locked)
108 Making a text highlighter3m 33s
-
(Locked)
109 Updating an interactive PDF without losing work done in Acrobat5m 30s
-
(Locked)
110 Adding custom text at the beginning of each line automatically4m
-
(Locked)
-
-
(Locked)
089 Three great Object Styles for any designer8m 1s
-
(Locked)
090 Choosing alpha channel image transparency2m 25s
-
(Locked)
091 Adding and reading metadata for InDesign files3m 25s
-
(Locked)
092 Adding ALT tags to your images6m 59s
-
(Locked)
093 How to Place & Link a text frame's text but not its formatting7m 4s
-
(Locked)
094 Setting the baseline position of a caption2m 39s
-
(Locked)
-
-
(Locked)
051 Five things that should be in every new file5m 19s
-
(Locked)
052 Forcing EPUB page breaks with invisible objects6m 21s
-
(Locked)
053 Understanding component information6m 39s
-
(Locked)
054 Creating running heads using section markers4m 16s
-
(Locked)
055 Making a font with InDesign using the IndyFont script5m 20s
-
(Locked)
056 Finding where that color is used7m 17s
-
(Locked)
-
-
(Locked)
047 Specifying an exact amount of space between objects5m 17s
-
(Locked)
048 Fixing last lines that are too short8m 16s
-
(Locked)
049 Creating web graphics from your InDesign artwork7m 20s
-
(Locked)
050 Using “No Language” to suppress unwanted hyphenation, spell-checking, and smart quotes2m 48s
-
(Locked)
-
-
(Locked)
037 Updating a linked table without losing formatting5m 18s
-
(Locked)
038 Creating electronic sticky notes4m 49s
-
(Locked)
039 Moving master page items to the top layer for visibility2m 48s
-
(Locked)
040 Five guide tricks that will impress your coworkers6m 18s
-
(Locked)
041 Letting InDesign add the diacritics4m 21s
-
(Locked)
042 Using single-cell table cells for custom paragraph formatting6m 2s
-
(Locked)
-
-
(Locked)
027 Creating running heads using variables5m 1s
-
(Locked)
028 Live Caption tips and tricks8m 3s
-
(Locked)
029 Making professional drop caps10m 37s
-
(Locked)
030 Making two-state buttons in interactive documents5m 5s
-
(Locked)
031 Moving pages from one document to another3m 15s
-
(Locked)
032 Wrapping bulleted text around a curve5m 58s
-
(Locked)
-
-
(Locked)
007 Selecting through and into objects using cmd-click and Select Above/Below5m 46s
-
(Locked)
008 Some great tips and tricks for the Swatches panel9m 40s
-
(Locked)
009 Saving down for backward compatibility with INX and IDML5m 54s
-
(Locked)
010 Using the INX and IDML formats to fix problems4m 46s
-
(Locked)