PDF.js-Viewer
PDF.js Viewer muss mit Simply Static konfiguriert werden. Empfohlene Einrichtung: Simply Static Pro.
Über dieses Plugin
Integriere den PDF.js-Viewer von Mozilla über einen Gutenberg-Block oder einen einfachen Shortcode in deine Seiten und Beiträge. PDF.js ist eine JavaScript-Bibliothek zur Anzeige von PDF-Seiten in Browsern.
Herausforderung bei statischem WordPress
Stelle sicher, dass die PDF-Dateien, PDF.js-Assets und Viewer-Skripte im statischen Export enthalten sind. Öffentliche PDFs und clientseitige Viewer-Funktionen sollten funktionieren; Berechtigungen für private Anhänge können nach dem Export nicht durchgesetzt werden, und der benutzerdefinierte Init-Callback sollte manuell auf Verhalten zur Anfragezeit getestet werden.
Häufig gestellte Fragen
Is PDF.js Viewer compatible with Simply Static?
PDF.js Viewer works with Simply Static but needs some configuration. We recommend using Simply Static Pro for the best experience.
Which Simply Static product works best with PDF.js Viewer?
Based on our analysis, PDF.js Viewer works best with Simply Static Pro. Simply Static is for basic static sites, Simply Static Pro adds support for search, forms, and multilingual sites, and Simply Static Studio adds AJAX proxy and REST API support for supported integrations.
Does PDF.js Viewer affect static build times?
PDF.js Viewer has approximately 20,000 active installs. Plugins with complex shortcodes or dynamic blocks may add minor overhead to the static generation pass.
What configuration does PDF.js Viewer need for Simply Static?
Ensure the PDF files, PDF.js assets, and viewer scripts are included in the static export. Public PDFs and client-side viewer features should work; private attachment permissions cannot be enforced after export, and the custom init callback should be manually tested for any request-time behavior.
How often is this compatibility data updated?
All plugins are re-scanned monthly. Scans run five analysis passes including an AI classifier. The last tested date at the top of this page reflects the most recent scan.