Start learning with our library of video tutorials taught by experts. Get started

InDesign Insider Training: Interactive PDFs

Sound and video buttons


From:

InDesign Insider Training: Interactive PDFs

with David Blatner

Video: Sound and video buttons

As we saw last movie it's super easy to add a movie to your document because InDesign treats it like a graphic. I will go ahead and place that movie again and setup the Media panel. I'm going to chose Place, select my movie, click inside of here, I will wait for a moment while it loads the movie. And then I'm just going to scale this down to fit and setup a Media panel. Let's grab an image that we like a little bit more, and set that to be the current poster. Now, just like in the last movie, I'm going to turn on the controller and set the Show Controller on Rollover check box. So, we're in good shape here, but instead of forcing my user to click on the movie to play it, I'd like to add a button, a Play button. I'll open my sample Buttons and Forms library and grab a button out of here, maybe this green button.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
InDesign Insider Training: Interactive PDFs
2h 22m Intermediate Jul 23, 2013 Updated Jan 17, 2014

Viewers: in countries Watching now:

While PDFs can be used for printing, they also have interactive features that make them great for forms, brochures, and prototypes. In this course, InDesign insider David Blatner tells you what interactive PDFs are, why they're so useful, and how to make them yourself with Adobe InDesign and Acrobat. Learn to make hyperlinks to websites, other pages in your document, and email; add buttons that navigate, show, and hide content; create a form with check boxes and text entry fields; and embed audio and video. Plus, discover how to add polish with calculations, page transitions, and more.

Topics include:
  • Creating a new interactive document
  • Linking to URLs and mail addresses
  • Creating bookmarks
  • Adding buttons with rollover states
  • Adding text, list, and submit fields to forms
  • Embedding audio and video
  • Adding page transitions
  • Best practices for exporting high-quality interactive PDF files
Subjects:
Design Digital Publishing PDF
Software:
InDesign
Author:
David Blatner

Sound and video buttons

As we saw last movie it's super easy to add a movie to your document because InDesign treats it like a graphic. I will go ahead and place that movie again and setup the Media panel. I'm going to chose Place, select my movie, click inside of here, I will wait for a moment while it loads the movie. And then I'm just going to scale this down to fit and setup a Media panel. Let's grab an image that we like a little bit more, and set that to be the current poster. Now, just like in the last movie, I'm going to turn on the controller and set the Show Controller on Rollover check box. So, we're in good shape here, but instead of forcing my user to click on the movie to play it, I'd like to add a button, a Play button. I'll open my sample Buttons and Forms library and grab a button out of here, maybe this green button.

I'll just drag it out and drop it on my page. Now, to make this button play the movie, all I need to do is go to the Buttons and Forms panel, make sure it's selected on the page, and then give it an action. Right now the action is set to Go to URL, so I don't want that. I'm going to delete it with a little Minus button. And instead I'll go to the Plus button and add a new action, and the action is going to be Video. When you choose Video, InDesign looks for all the videos that are on your current spread and gives you a list inside the Video pop-up menu. Right now there's only one video of course, so it just picked it for me. Then it lets me choose, what do I want to do to that video? And you can see in the Options pop-up menu, you have a bunch of different options.

I could play it. I could stop it, or pause, or resume it. In this case, all I want to do is play. Now, unfortunately, buttons in a PDF are one state. That is, you cannot make a single button do two different things, like I cannot make this one button play if the movie if the movie is not playing, but pause if it is playing. You can however, make two different buttons and then hide and show them. So, this is kind of a trick. I'm going to duplicate this button but before I do that I'm going to change its name. And I'm going to call this Play video. Now, I'll duplicate it simply by Option+Alt dragging. Now, I want this copy of a button to do something different. I want it to stop, so I'm going to come over here to the Action panel, choose Video.

It'll choose the same video, but I'm going to change the option to Stop. Then I'll change the name of course, I want to have a very descriptive name, like Stop Video. I'm also going to tell this button to be hidden until triggered. In other words, make it invisible until I tell it to show up. Now, you'll remember from an earlier chapter that you can hide and show buttons simply by using the Hide Show Buttons action. When someone clicks on this Stop Video button, I want it to not only stop the video, but I also wanted to show and hide some buttons.

Specifically I wanted to show the Play Video and hide itself, I am going to do the opposite thing for the play video button. I'm going to tell it to show and hide some buttons but its going to hide itself and show the Stop Video. Just so that we can see what's going on here, I'm going to change the color of the Stop Video one, otherwise it will be really hard to see that they've changed. So, I'll double click on this and then double click again to select the frame inside the button. This is the green frame and I'm going to change it to a different color, like blue.

Finally, I'm going to deselect everything by clicking off of the pace board and then dragging the Stop button on top of the green Play button. Remember, the Stop button is going to be hidden until it's triggered. And it's going to be triggered by clicking on the Play button. Okay, after setting this thing up, we better test it to see if it's going to work. I'll test it inside the SWF Preview panel instead of exporting a PDF. I'll open the panel, click Play, and up comes that one page. We have the video and we have the button. As soon as I click on that button, it plays the movie and it changes, hides itself and shows the Stop Movie button.

There it is, there's the Blue button. Then when I click on this Blue button, it stops the movie playing and it changes back to the Play button. Now, you don't have to add buttons to control your video or audio files, especially if you use a poster image that makes it clear that you should click on it to start it playing. But sometimes having a button to trigger a sound or a movie is really helpful, so now you know how.

Find answers to the most frequently asked questions about InDesign Insider Training: Interactive PDFs.


Expand all | Collapse all
Please wait...
Q: I am trying to turn objects in a layered InDesign document into buttons, following the lessons in Chapter 3, but they don't show up when I export to PDF. What's wrong?
A: This is a known issue with InDesign, stacked layers, and buttons. The final stacking order in your PDF is actually determined by the order the buttons are created, not the stacking order of the layers in your document. David Blatner has researched and proposed a solution to this issue on his InDesign Secrets blog. Read more about it here.
Q: This course was updated on 01/17/2014. What changed?
A: The author updated three movies in the "Links and Bookmarks" chapter, since the behavior of hyperlinks has recently changed in InDesign CC.
Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed InDesign Insider Training: Interactive PDFs.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked