Other PDF Issues

How to Make Relative Audio and Video Links Work in PDFs

Kushani NimanthikaKushani Nimanthika Nov 5, 2026 868 views

Question details

The user wants to ensure audio and video links (MP3, WAV, MP4) within a PDF remain functional when the PDF and its associated media files are moved to different drives or folders.

How to Make Relative Audio and Video Links Work in PDFs
Product
PDF
Device & OS
not provided
Scenario
Moving a PDF document alongside its linked external media files to a new directory, computer, or drive.
Observed behavior
Links created in a PDF might appear absolute and break when moved, requiring clarification on how relative paths behave when directories change.
Before you start

Ensure that all your linked audio and video files are currently stored in the same parent folder as your PDF document to easily maintain relative path structures.

Solution 1Recommended

Keep Media Files in the Same Directory as the PDF

The most reliable way to maintain relative links in a PDF is to group the document and its media files together in a single folder before creating the links.

PDF links are generally relative unless the linked file is stored on a completely different drive at the time the link is created. Although the properties might display an absolute path, the link will dynamically adjust as a relative path if the files remain on the same drive and in the same relative folder structure.

1
Organize your files

Create a new, dedicated folder. Move both your PDF document and the required media files (such as MP3, WAV, or MP4) inside this specific folder.

2
Create the links

Open the PDF in your PDF editor and add hyperlinks pointing directly to the media files located within this newly created shared folder.

3
Move as a package

When transferring the files to a different directory or computer, move or copy the entire parent folder as a single unit rather than moving the PDF file by itself.

4
Test the links

Open the PDF from its new destination folder to verify that the relative links successfully locate and play the audio or video files.

Keep Media Files in the Same Directory as the PDF
Drive Location Matters: If you link a PDF on your C: drive to a video on your D: drive, the link forces an absolute path. Both files must reside on the same drive during link creation for the relative path feature to function.
Manage PDFs easily with WPS Office

Easily Manage PDF Links and Attachments with WPS PDF

WPS Office includes a robust PDF editor that allows you to effortlessly insert hyperlinks or embed media file attachments directly into your documents, ensuring they remain accessible anywhere.

  1. 1. Open your PDF: Launch WPS Office and open your target PDF document.
  2. 2. Access the Edit tab: Click on the 'Edit' tab located on the top navigation ribbon.
  3. 3. Add a link or attachment: Click 'Link' to route a relative path to your media file, or select 'Attachment' to embed the media directly into the file for easier sharing.
  4. 4. Save the document: Click 'Save' to apply the changes and ensure your linked media functions properly.
Free and lightweight PDF editing toolsFully compatible with standard PDF formats and Microsoft Office filesEasily insert links, images, and file attachmentsCross-platform support for Windows, Mac, iOS, and Android
microsoft office alternative - wps office

Frequently Asked Questions

Why do my PDF media links break when I email the file?

If you linked to a local audio or video file on your hard drive, the recipient will not have access to that file. To fix this, you must either embed the media directly into the PDF as an attachment or send both the PDF and the media files together in a single ZIP folder.

Do relative links work across different local drives?

No. If a PDF is on one drive (e.g., C:) and the linked media is on another (e.g., D:), the PDF software creates an absolute link. Both files must be on the same drive for the link to act as a relative path.

Will my PDF media links work in a web browser viewer?

Link behavior can vary significantly between dedicated desktop PDF editors and built-in browser PDF viewers. Browser viewers often block local file execution for security reasons, so it is highly recommended to open media-rich PDFs in a dedicated PDF application.