Title: PDF Embedder &#8211; Scrollable
Author: Ketan Kanzariya
Published: <strong>2024 年 9 月 23 日</strong>
Last modified: 2026 年 4 月 24 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/pdf-embedder-scrollable.svg)

# PDF Embedder – Scrollable

 作者：[Ketan Kanzariya](https://profiles.wordpress.org/ketan1999/)

[下载](https://downloads.wordpress.org/plugin/pdf-embedder-scrollable.1.3.0.zip)

 * [详情](https://cn.wordpress.org/plugins/pdf-embedder-scrollable/#description)
 * [评价](https://cn.wordpress.org/plugins/pdf-embedder-scrollable/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/pdf-embedder-scrollable/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/pdf-embedder-scrollable/#developers)

 [支持](https://wordpress.org/support/plugin/pdf-embedder-scrollable/)

## 描述

PDF Embedder – Scrollable allows you to embed PDF files into WordPress pages and
posts using a lightweight and scrollable PDF viewer powered by Mozilla PDF.js.

Unlike iframe-based PDF embeds, this plugin provides a clean viewing experience 
without browser toolbars, sidebars, or unnecessary margins.

#### Features

 * Scrollable PDF viewer
 * Responsive and mobile-friendly
 * Custom scale support
 * Lazy loading support
 * Dark mode support
 * Start from custom page
 * Custom loader spinner
 * Relative and absolute PDF URL support
 * Multiple PDF embeds on same page
 * Lightweight and fast
 * Powered by Mozilla PDF.js

#### Shortcode

Basic Example:

[pes_pdf_scrollable_embed url=”/wp-content/uploads/sample.pdf”]

Advanced Example:

[pes_pdf_scrollable_embed
 url=”/wp-content/uploads/sample.pdf” scale=”2″ height
=”100vh” toolbar=”true” download=”false” zoom=”true” loader=”spinner” start-page
=”5″ lazy-load=”true” dark-mode=”true”]

#### Shortcode Parameters

 * url
 * scale
 * width
 * height
 * max-width
 * max-height
 * toolbar
 * download
 * zoom
 * loader
 * start-page
 * lazy-load
 * dark-mode

#### PDF.js Source Code

This plugin uses Mozilla PDF.js library.

Original uncompressed source code is available here:

 * https://github.com/mozilla/pdf.js

PDF.js is licensed under Apache License 2.0.

### License

This plugin is licensed under GPL-3.0.

### Source Code

The minified JavaScript libraries used in this plugin are compressed for performance.
The original, human-readable source code for these libraries can be found at the
following locations:

 * **pdf.js**: [GitHub Repository – Mozilla pdf.js](https://github.com/mozilla/pdf.js)
 * **pdf.worker.js**: [GitHub Repository – Mozilla pdf.worker.js](https://github.com/mozilla/pdf.js)

If you would like to review or contribute to the development of these libraries,
please refer to the repositories above. Any modifications made to these libraries
in this plugin will be documented in future versions of the plugin.

Additionally, the source code for the plugin itself is available on our GitHub repository
at:
 – **Plugin Source Code**: [GitHub – Aurorbyte PDF Embedder](https://github.com/aurorbyte/pdf-embedder-scrollable)

We welcome contributions and feedback from the community. Please submit any pull
requests or issues directly to the GitHub repository above.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/pdf-embedder-scrollable` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use the shortcode `[pes_pdf_scrollable_embed url="your-pdf-url"]` to embed PDFs
    in your posts or pages.

## 常见问题

### Can I use relative PDF URLs?

Yes.

Example:

[pes_pdf_scrollable_embed url=”/wp-content/uploads/sample.pdf” scale=”1.5″ width
=”100%” height=”100%” max-width=”800px” max-height=”90vh”]`.

### Can I embed multiple PDFs on same page?

Yes.

### Does it support mobile devices?

Yes.

### Does it use iframe?

No. It uses Mozilla PDF.js rendering.

## 评价

此插件暂无评价。

## 贡献者及开发者

「PDF Embedder – Scrollable」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Ketan Kanzariya ](https://profiles.wordpress.org/ketan1999/)

[帮助将「PDF Embedder – Scrollable」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/pdf-embedder-scrollable)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/pdf-embedder-scrollable/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/pdf-embedder-scrollable/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/pdf-embedder-scrollable/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/pdf-embedder-scrollable/)。

## 更新日志

#### 1.3.0

 * Added lazy loading support
 * Added dark mode support
 * Added custom loader spinner
 * Added start-page support
 * Added mobile optimization
 * Improved rendering performance
 * Improved error handling
 * Improved URL validation
 * Updated plugin architecture
 * Added local PDF.js support
 * Removed remote CDN dependency

#### 1.2.0

 * Improved plugin structure
 * Added render abstraction
 * Added validation helpers
 * Added safer enqueue handling

#### 1.1.0

 * Fixed various security issues.
 * Improved handling of relative URLs in shortcode.
 * Updated plugin license to GPL-3.0 to ensure compatibility with third-party libraries.
 * Added links to the human-readable source code for the minified JavaScript files
   used in the plugin.

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.3.0**
 *  最后更新：**1 月前**
 *  活跃安装数量 **60+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/pdf-embedder-scrollable/)
 * 标签
 * [pdf](https://cn.wordpress.org/plugins/tags/pdf/)[pdf embedder](https://cn.wordpress.org/plugins/tags/pdf-embedder/)
   [pdf viewer](https://cn.wordpress.org/plugins/tags/pdf-viewer/)[pdf.js](https://cn.wordpress.org/plugins/tags/pdf-js/)
 *  [高级视图](https://cn.wordpress.org/plugins/pdf-embedder-scrollable/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/pdf-embedder-scrollable/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/pdf-embedder-scrollable/reviews/)

## 贡献者

 *   [ Ketan Kanzariya ](https://profiles.wordpress.org/ketan1999/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/pdf-embedder-scrollable/)