Linux 软件免费装
Banner图

PDF Viewer

开发者 envigeek
更新时间 2023年1月4日 01:09
PHP版本: 3.8 及以上
WordPress版本: 6.1.1
版权: GPLv2 or later
版权网址: 版权信息

标签

embed pdf viewer pdf viewer pdfjs

下载

0.1 1.0.0

详情介绍:

PDF Viewer is a WordPress plugin that allows you to embed PDF document on your site without using Flash plugin and only rely on JavaScript in order to work. This will make your website HTML5-compliant. This plugin is powered by Mozilla PDF.js script. How to embed: Use shortcode like this [pdfviewer width="600px" height="849px"]http://full-url/document.pdf[/pdfviewer] PDF.js is an HTML5 technology experiment that explores building a faithful and efficient Portable Document Format (PDF) renderer without native code assistance. The goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs. PDF.js development is community-driven and supported by Mozilla Labs.

安装:

  1. Install from within WordPress plugin installer, or get from WordPress plugin repository
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Go to Settings > PDF Viewer to set default values for the plugin.
  4. Create or edit any page (or post) and insert the shortcode [pdfviewer][/pdfviewer].

屏幕截图:

  • Settings page for default values.

升级注意事项:

Latest PDF.js and security fix.

常见问题:

Is this supported on WordPress Multisite?

In simple words, YES. But if you are using domain mapping plugin, this only works when your backend URL is the same as the frontend. Means you have to make sure the document URL use the website public-facing domain name instead of the multisite domain.

更新日志:

1.0.0 0.1