1 00:00:06,799 --> 00:00:08,460 Hi there! 2 00:00:08,460 --> 00:00:12,900 In this video we’ll be discussing how to insert a video into a document in InDesign, 3 00:00:12,900 --> 00:00:15,270 so let’s get started. 4 00:00:15,270 --> 00:00:19,220 For this one we’ll need the ‘media’ panel, that you can find here. 5 00:00:19,220 --> 00:00:24,609 If you don’t find it here, go to window, and then interactive, and you shall find media 6 00:00:24,609 --> 00:00:25,909 sitting there. 7 00:00:25,909 --> 00:00:30,570 Let’s click the media panel to populate it on the screen. 8 00:00:30,570 --> 00:00:34,370 Now there are two ways we can insert a video into the document. 9 00:00:34,370 --> 00:00:39,190 The first one is to insert a video from the local drive, and the second one is to insert 10 00:00:39,190 --> 00:00:42,899 a link from a site like YouTube or Vimeo etc. 11 00:00:42,899 --> 00:00:48,750 Let’s first demonstrate how to insert the video stored on your hard drive, so for that 12 00:00:48,750 --> 00:00:53,660 click the button at the bottom right corner of the media panel that says ‘place a video 13 00:00:53,660 --> 00:00:57,789 or audio file’ when you hover your cursor over it. 14 00:00:57,789 --> 00:01:01,179 Now locate the video on the computer, and hit open. 15 00:01:01,179 --> 00:01:06,780 You’ll find your cursor getting loaded with the video, so click, and drag to restrict 16 00:01:06,780 --> 00:01:09,090 the video within the document margins. 17 00:01:09,090 --> 00:01:15,140 You’ll find that the video needs to be resized as per the frame, so right-click the video, 18 00:01:15,140 --> 00:01:19,780 and go to fitting, and select ‘fit content to frame’ option. 19 00:01:19,780 --> 00:01:24,640 Check the ‘play on page load’ option from the media panel, so that when the page loads, 20 00:01:24,640 --> 00:01:26,840 the video plays. 21 00:01:26,840 --> 00:01:30,990 You can check the preview by clicking the small icon at the bottom left corner of the 22 00:01:30,990 --> 00:01:37,420 media panel, which is basically the epub interactivity preview panel, so the moment you hit the play 23 00:01:37,420 --> 00:01:40,810 button, you’ll find your video playing. 24 00:01:40,810 --> 00:01:45,950 Now let’s move to page 2, to demonstrate how you can add a YouTube link to your document. 25 00:01:45,950 --> 00:01:53,420 Let’s go to a video of YouTube, and click the share button, which will reveal this popup. 26 00:01:53,420 --> 00:01:56,480 Here you need to click the ‘embed’ option. 27 00:01:56,480 --> 00:02:01,560 You’ll find it showing the width and height of the video as well, so just hit copy, and 28 00:02:01,560 --> 00:02:04,000 get back to your document. 29 00:02:04,000 --> 00:02:10,119 Once back to InDesign, hit Command V on a Mac, or Ctrl V on a PC to paste the link, 30 00:02:10,119 --> 00:02:15,040 and wait for a few seconds to populate the video, and then center-align it. 31 00:02:15,040 --> 00:02:19,890 Ignore the notification on the video that says ‘your browser can’t play this video.’ 32 00:02:19,890 --> 00:02:24,780 Just go to the epub interactivity preview panel, and hit the play button, and your video 33 00:02:24,780 --> 00:02:29,730 shall start playing. 34 00:02:29,730 --> 00:02:34,060 Now you see what happens when I try to adjust the dimensions of the video on my document. 35 00:02:34,060 --> 00:02:39,850 Let’s now go to epub interactivity preview, and you shall find the video is not aligned 36 00:02:39,850 --> 00:02:41,680 properly. 37 00:02:41,680 --> 00:02:46,380 To fix this you need to edit the html, so first of all, let’s change the unit of measurement 38 00:02:46,380 --> 00:02:51,970 to pixels, because picas is confusing, so let’s go to preferences, and then units 39 00:02:51,970 --> 00:02:54,010 and increments. 40 00:02:54,010 --> 00:02:59,060 Update the ruler units to pixels, for both vertical and horizontal rulers, and now we 41 00:02:59,060 --> 00:03:08,790 know the current dimensions of our video are 645.68 pixels by 379.61 pixels, so right-click 42 00:03:08,790 --> 00:03:11,290 the video, and go to ‘edit html’ option. 43 00:03:11,290 --> 00:03:17,220 On the popup screen, update the width and height of the video to the dimensions showing 44 00:03:17,220 --> 00:03:28,020 on the toolbar above, which is 645.68 pixels for width, and 379.61 pixels for height, and 45 00:03:28,020 --> 00:03:29,890 hit okay. 46 00:03:29,890 --> 00:03:34,530 Now when you go to the epub interactivity preview option, you’ll find the video aligned 47 00:03:34,530 --> 00:03:37,480 perfectly, much like our document. 48 00:03:37,480 --> 00:03:43,400 So those are the two ways you can add a video, or even an audio to your document. 49 00:03:43,400 --> 00:03:44,490 Alright guys! 50 00:03:44,490 --> 00:03:48,460 That brings us to the close of the session, and it’s time for a short break, so I’ll 51 00:03:48,460 --> 00:03:50,260 see you in just a bit. 52 00:03:50,260 --> 00:03:50,900 Good bye!