This module embeds PDF files into your Drupal site, offering options to display them inline, in a modal popup, or in a new browser tab. It integrates with Drupal's Field API, Media system, and Views for flexible PDF rendering.
PDF Embed View provides a flexible, mobile-friendly way to display PDF files in Drupal.
It integrates cleanly with Drupal’s Field API, Media system, and Views, allowing PDFs
to be rendered inline, in modal dialogs, or in a new browser tab.
Features
Field formatter support
- File fields
- Media reference fields
Multiple display modes
- Inline embed
- Modal popup
- Open in a new tab
Setup Instructions
-
Enable required modules
Ensure the following core modules are enabled:- File
- Media (required only for Media support)
-
Display PDFs from File fields
- Go to: Structure → Content types → Manage display
- Select the File field
- Choose formatter: PDF Embed Viewer
-
Configure the display mode
- Inline
- Modal
- New tab
- Save the display settings
- The same steps apply for Media reference fields
Views Integration
PDF Embed View can be used directly inside Views to display PDFs referenced via Media entities.
LIVE DEMO
Depends on
Dependencies of the latest stable release
- field Drupal core
- media Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.