← All widget guides
Available

PDF Viewer

Embed a document for on-page reading.

Overview

Embed a document for on-page reading.

Setup

  1. 1.

    Create

    Create a PDF Viewer widget in your Pliget dashboard.

  2. 2.

    Configure

    Provide a hosted PDF or available uploaded file and configure dimensions.

  3. 3.

    Publish

    Adjust appearance and verify the live preview, then save and publish.

  4. 4.

    Embed

    Copy its embed code from the editor and add it to your website.

Read installation guide →

Capabilities

Embedded viewer, document link and browser-provided PDF controls.

Configuration checklist

  • Supply a directly accessible PDF URL or supported upload.
  • Configure viewer size and available actions.

Verify before publishing

  • Open a multipage PDF on mobile and desktop.
  • Check blocked cross-origin documents.
  • Verify published status and that the generated widget ID belongs to the intended site.
  • Test the embed on desktop, mobile and an actual external page.

Integrations and connections

These are operational connections and external destinations, not marketing-only recommendations.

The widget uses the standard Pliget script embed. You do not need to build or bundle the widget into your website.

If your widget collects data, review its individual connection options and limits before publishing.

Hosted PDF

Available

Document URL / viewer

Use an accessible PDF source. Browser and cross-origin policies can affect embedded viewing.

Supported languages

Pliget interface and widget localization options. Auto follows the configured locale behavior; not every content field is automatically translated.

English (en)Deutsch (de)עברית (he)Русский (ru)Polski (pl)

Appearance themes

Available shared widget themes. Individual layouts may have their own material treatment while respecting the selected theme.

lightdarkautoglasscustomunstyled

Install on your website

  1. Create the widget in your Pliget dashboard and configure its content and appearance.
  2. Save and publish it. Drafts are not delivered by the public widget endpoint.
  3. Copy the embed snippet from the widget editor and place it on the target website.
  4. Verify the public widget on desktop and mobile. Make sure the site origin and publication settings are correct.
<script async src="https://cdn-dev.pliget.com/widget.js" data-widget="YOUR_PUBLISHED_WIDGET_ID"></script>

Illustrative snippet: use the exact generated code and widget ID from your dashboard. Do not reuse another site's ID.

Limitations and prerequisites

Browser PDF support and cross-origin restrictions vary.