PDF Viewer logo

PDF Viewer

Published July 2021
   •    Updated this week

Plugin details

An open-source standards-friendly JavaScript utility for embedding PDF files into HTML documents.
If you're working with dynamic HTML, such as a single-page web app, you may need to insert PDFs on-the-fly. However, PDF embedding is not supported by certain browsers.

The PDF Viewer utility helps you avoid these situations by detecting support for PDF embedding in the browser; if embedding is supported, the PDF is embedded. If embedding is NOT supported by the browser, the PDF will NOT be embedded.

For a demo please visit: https://datamatic-05.bubbleapps.io/version-test/pdf-viewer

Editor: https://bubble.io/page?id=datamatic-05&version=test&name=pdf-viewer&tab=Design

Free

For everyone

3.7 stars   •   6 ratings
12.2K installs
This plugin does not collect or track your personal data.

Other actions

Platform

Web

Contributor details

Datamatic Software logo
Datamatic Software
Joined 2022   •   36 Plugins
View contributor profile

Instructions

This are step-by-step instructions on how to get the plugin working on any Bubble App.
1. Add this plugin to your application.

2. Add action 'Render PDF'

3. Write the Element ID where the PDF will be embedded (if you want thw whole page leave blank)

4. For the Element ID option go to Settings, then go to General -> General Appearance and check the option Expose the option to add an ID attribute to HTML elements.

5. Then go back to the Design tab and select any element. Scroll to the bottom of the Property Editor and define an ID (for example pdf_viewer).

6. Set a file for the PDF Viewer (use dynamic link for dynamic content or upload a static file).

Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:
Productivity   •   Data (things)   •   Payment   •   Media   •   Ecommerce

Resources

Support contact
Documentation
Tutorial

Rating and reviews

Average rating (3.7)

Relies on UNPKG
March 15th, 2025
The plugin is hosted on UNPKG. It's an unreliable free CDN that caused our app to slow dramatically on March 14.
Its a great plugin, it could be greater.
April 25th, 2024
If it were possible to disable the print and download buttons, it would suit many people who are concerned about data privacy.
Shows error on ipad
January 12th, 2024
The plugin PDF Viewer / action PDF Viewer threw the following error: anonymous@ @https://bludtest.com/package/run_debug_js/aec70b3fd452fe91d70b7393cb5258c53ac54ed0f76843f7955e8acdf0152c1d/xfalse/x28/run_debug.js:481:679 run_with_error@https://bludtest.com/package/run_debug_js/aec70b3fd452fe91d70b7393cb5258c53ac54ed0f76843f7955e8acdf0152c1d/xfalse/x28/run_debug.js:586:71 (please report this to the plugin author
The viewer element cannot be found
July 17th, 2023
The viewer element that I installed is showing up as missing element. I can no long find the element from the element panel either.
works well and support was excellent
February 13th, 2023
Works! and ease to setup. Support from devs is fast and effective.
Bubble