內容簡介
綜上所述,PDF Embedder – Scrollable 外掛讓您可以輕鬆將 PDF 檔案嵌入到您的 WordPress 網站中,並提供可滾動的觀看器。您可以自訂每個 PDF 觀看器的比例,為使用者提供無縫的體驗。
### 問題與答案:
1. 這個外掛的授權是什麼?
這個外掛的授權是 GPL-3.0。
2. 這個外掛使用的 JavaScript 庫有壓縮嗎?
這個外掛使用的 JavaScript 庫已經壓縮以提升效能。
3. 可以在哪裡找到這些 JavaScript 庫的原始碼?
您可以在以下位置找到這些 JavaScript 庫的原始碼:
- pdf.js: GitHub Repository – Mozilla pdf.js
- pdf.worker.js: GitHub Repository – Mozilla pdf.worker.js
4. 是否歡迎社群貢獻和回饋?
是的,我們歡迎社群成員提交任何拉取請求或問題,直接到上面提到的 GitHub 倉庫。
外掛標籤
開發者團隊
原文外掛簡介
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
pdf.worker.js: GitHub Repository – Mozilla pdf.worker.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
We welcome contributions and feedback from the community. Please submit any pull requests or issues directly to the GitHub repository above.
