This article explains how to add and play audio and video in a PDF using Foxit PDF Editor.
Play a Movie or a Sound Clip
Some PDF files contain multimedia content, including sound, music, and video clips. Each movie or sound file usually has a play area from which the media can be activated. The play area typically appears on the PDF page as an image or a blank rectangle, but it can also be invisible. To play media files, make sure you have the necessary media player installed on your computer.
To play a movie or a sound, follow these steps:
Select the Hand command and click the play area of the movie or sound file.
Note: To protect your computer from viruses, the application displays a dialog box asking for your approval before playing multimedia files. Only if you trust the document and the media source, consider selecting Disable Safe Reading Mode and play media and Add current file to privileged locations. Disabling Safe Reading Mode may increase security risks.
Adding a Movie or a Sound Clip
Adding movies or sounds to PDFs is similar to inserting an image. Supported movie formats may include FLV, AVI, QuickTime, and MPEG, with file extensions such as .avi, .wmv, .mov, .qt, .mpg, and .mpeg. Animated GIF files use the .gif extension, while sound files may include MIDI, WAV, and MP3 formats. Actual format support depends on the application version and available media components.
Note: If an alert message indicates that no media handler is available, you may need to install a compatible media player before adding clips to the PDF. For example, the original instructions recommend RealPlayer for embedding an RMVB file. Verify compatibility with your current software version before following this recommendation.
Adding Movies or Sounds
Choose Edit > Video & Audio.
Press and hold the mouse button, then drag to select an area on the page where you want the movie or sound to appear. For movies, the play area matches the dimensions of the movie frame.
In the pop-up Add Video & Audio dialog box, configure the following options:
Location: Click Browse to select the movie file you want to insert.
Content Type: The media type is selected automatically, but you can also specify it manually. Changing this setting may cause playback problems.
Embed content in document: Embeds the media file in the PDF, increasing the PDF file size. This option is selected by default. If you clear the checkbox, the media may not play when the PDF is opened on another computer because the media file is not embedded.
Poster Settings: Choose whether to display an image in the play area when the movie is not playing. You can choose not to display a poster or create one from a file.
Edit the Play Area
To move, resize, align, center, or distribute multiple clips, refer to the instructions for images.
Set Video & Audio Properties
You can configure properties for multimedia files you add, including the appearance of a movie's play area, whether the movie plays once or continuously, and alternative renditions.
To set video and audio properties, follow these steps:
Select the Video & Audio command or the Select Annotation command.
Double-click the play area, or right-click it and select Properties.
For the Appearance tab, refer to the instructions for setting image properties.
Note: If you select Locked on any tab, all options for that multimedia file will be locked, not just the options on that tab.
In the Settings tab, configure the following options:
Annotation Title: Enter the title of the movie or sound in the Annotation Title box. This title does not determine which media file is played.
Alternate Text: Enter a description of the media file in the Alternate Text box.
Renditions: Create alternative renditions to help users play the movie or sound clip on their systems.
A. List Renditions for Event: Assign different renditions to different actions. Mouse Up is selected by default, meaning the rendition plays when the mouse button is clicked and released.
B. Add Rendition: Choose one of three methods: Use a File, Use a URL, or By Copying an Existing Rendition.
C. Edit Rendition: Click Edit Rendition to open the Rendition Settings dialog box, where you can specify the playback location and other settings that distinguish this rendition from others.
Media Settings — Specifies the General Properties for the Movie or Sound Clip
Rendition Name: Enter a name for the rendition. The name appears in the list of renditions but does not determine which media file is played.
Media Clip Location: Specify the clip by entering its location or browsing for the file.
Content Type: The content type is selected automatically when you specify the clip location. Changing this setting may cause playback problems.
Embed content in document: Embed the media file in the PDF. This increases the PDF file size. The option is selected by default. If it is cleared, the media may not play when the PDF is opened on another computer.
Rendition Alternate Text: Enter a description of the rendition.
Allow temp File: Specify whether temporary files may be created during playback and under what conditions. Some media players create temporary files when playing movies or sound clips. To make copying media content from a secure document more difficult, you may want to disallow temporary files. However, this setting may prevent playback in media players that require temporary files.
Playback Settings — Use This Tab to Determine How the Movie or Sound Clip Is Played
Keep Player Open: Choose whether the player remains open after playing the movie or sound clip.
Volume: Specify the playback volume.
Show Player Controls: Display a controller bar at the bottom of the play area so users can stop, pause, or play the media, provided the media player supports these controls.
Repeat: Choose whether to replay a clip two or more times or continuously.
Player List: Click Add to specify a player and designate it as required, preferred, or disallowed for playback. If multiple players are marked Required, only one of them may be used to play the rendition. Preferred players are selected over nonpreferred players but not over required players. Disallowed players are not used.
Add/Edit/Delete button: Add a new player or edit or delete the selected player in the Player List.
Playback Location: Determine whether a movie or sound clip plays within the PDF, remains hidden during playback (recommended for sound clips), plays in a floating window, or plays full screen. Floating Window Settings are available only when Floating Window is selected.
Playback Location: Select where the movie or sound clip plays.
Background Color: Select the media player's background color.
Show title bar: Show or hide the title bar when media plays in a floating window.
Show control closing window: Show or hide the close button in the upper-right corner of a floating window.
Title Text: Enter a title to display in the title bar when media plays in a floating window.
Resize: Choose whether users can resize the floating window: Don't allow user to resize window, Allow user to resize window but maintain original aspect ratio, or Allow user to resize window.
Window Position: Specify the window position relative to the document window, application window, virtual desktop, or document monitor.
Width/Height: Specify the width and height of the floating window.
If Window is Off-screen: Choose whether to play the media, prevent playback, or move the window onto the screen if the floating window is off-screen.
Use current playback settings as default for this type of media: Set the current settings as the default for future multimedia files of this type.
D. Delete Renditions: Delete the selected renditions.
E. Up/Down: Change the order of the renditions. If the first rendition cannot be played, the next available rendition is played.
Open the Actions tab in the Video & Audio Properties dialog box.
For more information, refer to the instructions for the Actions tab in the button properties.
Explore more Foxit PDF Editor add-ons to learn about additional PDF editing capabilities.






