PDF Embedder

Описание

Upload PDF files and embed them directly into your site’s posts and pages. It works as simple as adding images! Your PDF files will be automatically sized to their natural size and shape. You can also specify a width and the correct height will be calculated automatically. Our PDF Embedder plugin is fully responsive, so the embedded PDF will also look perfect, on any device. Additionally, the pdf embedder will automatically resize whenever the browser dimensions change.

The plugin has a unique method for embedding PDF files, using Javascript only, and not iframes or third-party services. This offers immense flexibility over the appearance of your document.

The PDF viewer has Next and Previous buttons to navigate the document, and zoom buttons if some areas of a PDF file are too small for your screen.

Your PDF files are embedded within your existing WordPress pages so we have full control over appearance, and all Javascript and other files are served by your own server (not by Google or any other third-party who may not be able to guarantee their own reliability). This means your PDF files will load fast, without any speed penalty.

Other PDF embedder plugins insert the PDF into an ‘iframe’ which means they do not get the flexibility over sizing. Ours does not and that is an incredible benefit to the overall viewing experience across all devices.

In the free plugin, there is no button for users to download the PDF, but download options are available in the Premium versions along with other awesome features.

Another Premium feature are Hyperlinks in your PDF being clickable. Links in the free plugin cannot be clicked.

Применение

  1. Once installed and Activated, click Add Media from any page or post, just like adding an image, but drag and drop a PDF file instead.

  2. When you insert into your post, it will appear in the editor as a ‘shortcode’ as follows:

  3. [pdf-embedder url="https://example.com/wp-content/uploads/2024/01/Plan-Summary.pdf"]

  4. You can change the default appearance — e.g. width, and toolbar position/appearance through Settings -> PDF Embedder and also shortcode or block attributes.

To override your site-wide defaults on an individual embed, see the Plugin Instructions for information about sizing options plus other ways to customize the shortcodes.

Премиум возможности

Features available in the PDF Embedder Premium versions:

  • Кнопка загрузки в панели навигации
  • Удобное пролистывание страниц документа
  • Гиперссылки полностью работают
  • Полноэкранный режим
  • Прямо указать номер страницы для перехода
  • Отслеживание количества скачиваний и просмотров
  • Оптимизировано для мобильных устройств
  • Защищённая публикация — сложно скачать исходный документ PDF
  • Removes wp-pdf.com branding

See wp-pdf.com for details!

Mobile-friendly embedding using PDF Embedder Premium

The free version will work on most mobile browsers, but cannot position the document entirely within the screen.

Our PDF Embedder Premium plugin solves this problem with an intelligent ‘full screen’ mode.

When the document is smaller than a certain width, the document displays only as a ‘thumbnail’ with a large ‘View in Full Screen’ button for the user to click when they want to study your document.

This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake. Viewers can then Click Exit to return to the regular page.

The user can also swipe continuously between all pages of the PDF which is more natural than clicking the navigation buttons to navigate.

See our site wp-pdf.com for more details and purchase options.

Protect your PDFs with our secure premium pdf embedder version

Наш плагин PDF Embedder Premium Secure предоставляет такой же простой и в то же время удобный просмотр PDF посетителям вашего сайта, но с дополнительной защитой, которая усложняет пользователям возможность скачать или распечатать ваш документ PDF.

This means that your PDF is unlikely to be shared outside your site where you have no control over who views, prints, or shares it.

Возможность добавить имя пользователя или адрес электронной почты поверх документа, отбивая у пользователей охоту распространять его скриншоты.

See our site wp-pdf.com for more details and purchase options.

Миниатюры PDF

Плагин PDF Thumbnails автоматически создаёт изображения предпросмотра для всех документов PDF в библиотеке файлов для использования по вашему усмотрению.

You can use them as featured images in posts containing an embedded version of the PDF, or as a visual clickable link to download the PDF directly.
It also displays the thumbnail as the «icon» for the PDF in the Media Library, making it easy for authors to locate the PDFs they need to insert in a post.

See our site wp-pdf.com/thumbnails/ for more details and purchase options.

С благодарностью к команде Mozilla за разработку технологии pdf.js, использованной в данном плагине.

Скриншоты

  • Uploaded PDF is displayed within your page/post at the correct size to fit.
  • User hovers over document to see Next/Prev page buttons.
  • Settings can change appearance of the viewer, including size.

Блоки

Этот плагин предоставляет 1 блок.

  • PDF Embedder Embed PDFs straight into your content.

Установка

Easiest way:

  1. Go to your WordPress admin control panel’s «Plugins > Add new» page
  2. Search for ‘PDF Embedder’
  3. Щёлкните Установить
  4. Click Activate

If you cannot install from the WordPress plugins directory for any reason, and need to install from ZIP file:

  1. Upload directory and contents to the /wp-content/plugins/ directory, or upload the ZIP file directly in the Plugins section of your WordPress admin
  2. Click Activate on the «Plugins» screen.

Часто задаваемые вопросы

How can I obtain support for this product?

We have instructions and a Knowledge Base on our website explaining common setup queries and issues.

We may almost daily review and respond to support queries posted on the ‘Support’ forum here on the wordpress.org plugin page.

How can I change the Size or customize the Toolbar?

See Settings -> PDF Embedder in your WordPress admin to change site-wide defaults. You can also override individual embeds by modifying the shortcode.

Resizing works as follows:

  • If width='max' the width will take as much space as possible within its parent container (e.g. column within your page).
  • If width is a number (e.g. width="500") then it will display at that number of pixels wide.

In all cases, if the parent container is narrower than the width calculated above, then the document width will be reduced to the size of the container.

Высота области просмотра будет рассчитана таким образом, что бы документ поместился полностью, при условии, что ширина уже известна.

Панель навигации с кнопками Вперёд/Назад может располагаться сверху и снизу относительно документа, или и сверху и снизу одновременно, она может всегда или только при наличии указателя над документом.

See the Plugin Instructions for more details about sizing and toolbar options.

PDF Embedder Premium feature list

Функции, доступные в премиальных версиях плагина:

  • Кнопка загрузки в панели навигации
  • Удобное пролистывание страниц документа
  • Гиперссылки полностью работают
  • Полноэкранный режим
  • Прямо указать номер страницы для перехода
  • Отслеживание количества скачиваний и просмотров
  • Убирает указание на wp-pdf.com с панели навигации
  • Оптимизировано для мобильных устройств
  • Защищённая публикация — сложно скачать исходный документ PDF

See wp-pdf.com for details!

Can I improve the viewing experience for mobile users?

Yes, our PDF Embedder Premium plugin has an intelligent ‘full screen’ mode.
When the document is smaller than a certain width, the document displays only as a ‘thumbnail’ with a large ‘View in Full Screen’ button for the user to click when they want to study your document.
This opens up the document so it has the full focus of the mobile browser, and the user can move about the document without hitting other parts of the web page by mistake.
Click Exit to return to the regular web page.

See our website wp-pdf.com for more details and purchase options.

Can I protect my PDFs so they are difficult for viewers to download directly?

Not with the free or (regular) pdf embedder premium versions — it is relatively easy to find the link to download the file directly.

A secure premium version is available that encrypts the PDF during transmission, so it is difficult for a casual user to save or print the file for use outside your site.

See our website wp-pdf.com for more details and purchase options.

Can I add a Download button to the toolbar?

Это возможно только в Premium версиях. Как возможное решение для бесплатной версии, можно добавить прямую ссылку на PDF рядом со внедрённым PDF документом.

Что бы сделать это, скопируйте ссылку из шорткода внедрения PDF и вставьте её, используя разметку HTML, например:
<a href=»(ссылка на ваш PDF)»>Скачать отсюда</a>

Поддерживаются ли гиперссылки в документах?

Версии Premium обеспечивают полное функционирование гиперссылок- как внутри документа, так и на сторонние ресурсы.

Отзывы

12.04.2024 1 ответ
Does what it is supposed to do. Fairly simple to use.
12.04.2024 1 ответ
I had been looking for a PDF embedder for my WP website and I wasn't very happy with those that I had found. And then I found PDF embedder and it did the job beautifully. I definitely recommend downloading and installing this plug-in.
09.04.2024 1 ответ
Looks good but a couple pages of a perfectly valid PDF just come up blank. The same file works fine in Acrobat etc. and with the default Wordpress PDF embedder (which I think relies on the browser). So it didn't work for me. Maybe it will work for you.
07.04.2024 1 ответ
Looks great. The best among its class. Thanks!
Посмотреть все 186 отзывов

Участники и разработчики

«PDF Embedder» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

«PDF Embedder» переведён на 19 языков. Благодарим переводчиков за их работу.

Перевести «PDF Embedder» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

4.7.1

  • Changed: The logic for displaying notices was adjusted.
  • Fixed: Improved handling of incorrect URLs supplied to the shortcode — PDF viewer won’t even try to render it.

4.7.0

  • IMPORTANT: The minimum WordPress version has been raised to WordPress v5.8.
  • IMPORTANT: The minimum PHP version has been raised to PHP v7.0.
  • IMPORTANT: If you are using a caching plugin and added PDF Embedder JS files to the exclusion list, you will need to do that again due to changed file names.
  • Added: New option for the toolbar location called «No Toolbar» is now available. It allows you to hide the toolbar completely.
  • Changed: Plugin admin area interface has been refreshed.
  • Changed: The plugin has been tested with the latest version of WordPress.
  • Changed: Block was rewritten from scratch, and now it looks better in the Block Editor, and also syncs its default settings with global plugin options.
  • Fixed: A lot of strings in the plugin have been fixed to make them translatable and accurate.
  • Fixed: Several security related improvements have been introduced (data sanitization and escaping).
  • Fixed: Text in PDF files in certain languages (like, Japanese and Korean) was not rendered correctly.

4.6.4

  • Resolved Javascript errors in minified JS.

4.6.3

  • Added About tab.
  • Updated core PDF.js functionality.
  • Addressed mobile issue in Safari iOS.

4.6.2

  • Added support for Italian language.
  • Security & Bug fixes.
  • Updated compatibility for WordPress 5.7.

4.6.1

  • PDF Zoom increase upto 800%.
  • Added compatibility for WordPress 5.7.

4.6.0

  • Fix language compatibility issue in viewer.
  • Fixes js and css files cache issue.
  • Added compatibility for WordPress 5.3.2.

4.5.0

  • Added compatibility for WordPress 5.3.
  • Fixes multiple PDF rendering issues in viewer.

4.4.0

  • Fixed code for policy compatibility.

4.3.0

  • Fixed Scrollbar issues with Firefox and iOS devices. Improved compatibility.

4.2.0

  • Fixed script problem on some Gutenberg editor installations. Improved compatibility.

4.1.0

  • Added compatibility for WordPress 5.2.1.

4.0.0

  • Fixed general bug & added compatibility.

3.2.1

  • Added compatibility for WordPress 5.2.1.

3.2.0

  • Added compatibility with Gutenberg Editor.

3.1.8

  • Updated version of underlying pdf.js library, fixes some rendering bugs.
  • Recalculates fresh viewer size more often in response to resize events. Previous versions attempted to increase performance by only recalculating viewer size when it had changed, but this missed some required resizing after Javascript-based tabs are clicked.
  • Fixed some issues with zoom appearance.
  • Mouse scroll wheel is now more consistent across all browsers (in terms of scroll speed).
  • When scrollbars are always visible, no longer cuts off edge of PDF underneath.

3.1.2

  • Ready for compatibility with WordPress 4.8.
  • New mouse wheel scrolling in Firefox wasn’t working with some themes.
  • Latest version of pdf.js library, and newest code bringing the free version into line with the premium versions.
  • Mouse wheel scrolling in Firefox no longer also scrolls the window unless at very top or bottom of page.

3.0.1

  • Latest version of pdf.js library, and newest code bringing the free version into line with the premium versions.
  • Improved responsiveness and redraw of pages.
  • Plugin now respects the SCRIPT_DEBUG flag in wp-config.php and displays non-minified versions of the JS files if this is set to true. Helps debugging any issues.

2.8.2

  • Самая свежая версия pdf.js для обеспечения последних достижений/исправлений в отображении PDF.

2.8.0

  • Internal code refactoring. Added note that ‘page turning arrows’ are now available in the premium versions.

2.7.5

  • Fix for a small number of PDFs rendering as smaller than expected on some high resolution screens.

2.7.3

  • IMPORTANT: Please clear browser and any WordPress cache if you experience any problems following this upgrade.
  • Улучшена поддержка дисплеев с высоким разрешением
  • Improved SEO for embedded PDFs (which are now links initially before Javascript converts them into the interactive view).
  • This also ensures the PDFs are accessible to users even if Javascript problems cause your site to break.
  • Совместимость с WordPress 4.6
  • Added a filter named my_pdfemb_override_send_to_editor that means the shortcode generation can be turned off if desired.
  • Использует самую свежую версию pdf.js для отображения PDF.
  • Кнопки на панели навигации имет аттрибут type=»button» для исключения конфликтов с некоторыми другими плагинами.
  • Перевод на испанский язык выполнен Armando Landois.
  • Added pdfemb_filter_shortcode_attrs filter so developers can change default shortcode parameters through code.

2.5.5

  • Исправления для языков с написанием справа налево.

2.5.4

  • Added French translation thanks to Thierry Gaillou of JDFitForme.
  • Uses newer version of pdf.js library for rendering PDFs.

2.5.0

  • Использует самую свежую версию pdf.js для отображения PDF.
  • Options page tidied up.

2.4.7

  • Some settings were difficult to change on multisite installations.

2.4.3

  • Code placeholders for opening links — available only in premium versions.
  • Updated languages.

2.4.1

  • Code placeholders for tracking views/downloaders — available only in premium versions.
  • Updated languages.

2.4.0

  • Now translation-ready! Your language contributions are welcome.
  • Compatibility with WordPress 4.4.
  • Contains information about new features in Premium version: Functioning hyperlinks, Jump to page number.

2.2.5

  • Better explanation of some error messages (e.g. attempt to access PDF on a different domain).
  • Forced white background by default — some Theme’s CSS would override.

2.2.4

  • Кнопка ‘Загрузить PDF’ добавлена в параметрах, но работает только в версиях Premium.

2.2.2

  • Обновлённые кнопки на панели навигации

2.2.0

  • Новая версия PDF.js, исправлены некоторые ошибки отображения PDF.

2.1.4

  • PDF загружается по тому же протоколу (http/https), что и сама страница, независимо от того, как ссылка указана в шорткоде. Это исключает конфликты и сбои при отображении PDF если протоколы не совпадают.

2.1.0

  • Добавлена страница Настройки -> PDF Embedder, так что теперь вы можете задавать глобальные настройки высоты, ширины области просмотра и расположения/отображения панели навигации.

2.0.0

  • Добавлена функция масштабирования. Панели навигации теперь могут быть постоянными, а не отображаться только при появлении указателя над областью просмотра.

1.2.1

  • Исправлены «области прокрутки» в IE.

1.2.0

  • Исправлены проблемы с ‘областью прокрутки’.
  • Отображаются номера страниц на панели навигации («Страница 1/10»)
  • Добавлен указатель «секундочку…»
  • Улучшено отображение многих PDF (Добавлена поддержка ‘cmaps’).

1.0.4

  • Added compatibility.js to support some minor browsers, e.g. Safari which did not allow ranged downloads.

1.0.2

  • Уменьшен код Javascript. Высота/ширина по-умолчанию (сейчас «max») расширяет область просмотра так, что бы заполнить всё доступное пространство, независимо от исходного размера документа. Используйте width=»auto» для возврата к тому, как было раньше.

1.0.1

  • Добавлены инструкции на странице настроек.

1.0.0

  • Первая версия