Strands PDF Embed
Embed PDFs from your Media Library with a responsive viewer. Works with Gutenberg, Classic Editor, Enfold ALB, Elementor, and WPBakery.
Escolha sólida
Strands PDF Embed is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 months ago, and scores 62/100 on our health check.
- Testado com as últimas WordPress (7.1)
- Pequena base de usuários (10+ instalações ativas)
- Muito poucos comentários até agora
- Precisa de PHP 8.1 ou mais recente
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where Strands PDF Embed stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| document | >100 |
| embed | >100 |
| >100 | |
| pdfjs | #14 |
| viewer | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
About Strands PDF Embed
From the official readme · v1.1.0Descrição
PDF Embed renders PDFs directly in your pages using PDF.js: no plugins for the visitor, no Google Docs iframes, no third-party trackers. PDF.js is bundled inside the plugin and served from your own site, so no third-party requests are ever made.
Built by Fren at Strands Services Ltd. Support: fren@strands.gg.
Recursos
- Continuous vertical scroll across all pages, with lazy rendering via IntersectionObserver
- Page navigation, zoom, fit-to-width, download, and print controls (these toggle which buttons render in the toolbar; they’re a UI choice, not access control; see the Security section)
- Global sizing modes: Responsive, Fixed, or Fixed Aspect Ratio (A4, Letter, 16:9, 4:3, 1:1, or custom)
- Light, Dark, or Auto color mode (Auto follows the visitor’s OS/browser
prefers-color-scheme) - Per-mode color customization (with alpha/transparency support on the Page Shadow field), plus a safely-scoped Custom CSS field for power users
- Live preview on the settings page
- Editors: Gutenberg block, Classic Editor TinyMCE button, Enfold ALB element, Elementor widget, WPBakery element, and
[pdf_embed]shortcode - Media Library picker filtered to PDFs only
- Translation-ready (English + Hungarian included)
- Theme-overridable viewer template
Shortcode
[pdf_embed id="123" sizing="responsive" download="yes" navigation="yes" zoom="yes"]
All attributes are optional except id. Per-embed attrs override the global defaults on the Sizing and Appearance tabs.
Segurança
- Frontend visitors have no attack surface: no REST endpoints, no AJAX handlers, no form submissions.
- Shortcode attribute sanitizers reject any value outside strict whitelists (units, hex/rgba colors, W:H ratios).
- Attachment access is gated by
current_user_can('read_post', $id); contributors cannot embed other users’ private PDFs. pdfjsLib.getDocument()is called withisEvalSupported: falseto prevent font-based JS execution.- All output is routed through WordPress’s escape functions (
esc_html,esc_attr,esc_url,wp_kses,wp_print_inline_script_tag). The release pipeline includes a check that fails the build if aphpcs:ignorefor the output-escaping sniff ever appears in shipped code. - Canvas size is clamped to ~268M pixels per page. Page count is capped at 2000 per embed. Both prevent client-side DoS from hostile PDFs.
- PDF.js ships inside the plugin and loads only from your own domain; no third-party servers are contacted.
- Debug information (attempted mime, extension) is only emitted when
WP_DEBUGis on.
Content-Security-Policy: the plugin emits one inline<style>(appearance CSS variables) and one inline<script type="module">(PDF.js loader). The script tag is rendered viawp_print_inline_script_tag(), so a CSP supplied through thewp_inline_script_attributesfilter is applied automatically. On sites without wiring, strict CSP needsstyle-src 'unsafe-inline'andscript-src 'unsafe-inline'for the viewer to boot.
Toolbar toggles are UI affordances, not access control. The shortcode’sdownload,navigation, andzoomattributes (and the matching options in the editors) control which buttons appear in the viewer toolbar; they don’t restrict what the visitor’s browser can do once the page is rendered. PDF.js needs the entire PDF in the browser to display it, so the bytes are always reachable from the browser’s network/devtools panel by anyone who can see the page. ThepdfEmbedGetInstance(container)JS handle also exposes the underlying viewer methods regardless of which buttons render. If you need to keep a PDF away from a viewer, gate the post behind WordPress’s permission system (private/draft, role-restricted, members-only plugin). Don’t rely on the toolbar toggles.
Third-party libraries
The plugin bundles minified copies of these libraries under assets/js/vendor/. Full un-minified source is available from each project’s repository at the pinned version listed below:
- PDF.js 6.4.299 (
pdf.min.js,pdf.worker.min.js) — Apache 2.0 — https://github.com/mozilla/pdf.js/releases/tag/v6.4.299 - wp-color-picker-alpha 3.0.4 (
wp-color-picker-alpha.min.js) — GPL-2.0-or-later — https://github.com/kallookoo/wp-color-picker-alpha - Phosphor Icons (inline SVG, Regular weight) — MIT — https://github.com/phosphor-icons/core
The plugin’s own PHP, JS, and CSS is shipped as-is without minification so the deployed code is also the source.
Instalação
- Upload the
pdf-embed/folder towp-content/plugins/ - Activate the plugin via the Plugins screen
- Visit Settings → PDF Embed to configure default sizing and appearance
Log de Changes
1.1.0
*Tested with WordPress 7.1.
*PDF.js upgraded from 5.7.284 to 6.4.299 (bundled, still served from your own site).
**PDF.js 6 removed PDFDocumentProxy.destroy(), so the viewer now tears down through the loading task instead. Bonus: a viewer removed while its PDF is still loading now shuts its worker down properly too.
**PDF.js 6 raised its minimum supported browsers; very old browsers that are no longer supported upstream may not render PDFs.
1.0.5
*Welcome to the WordPress.org plugin directory!
**Tested with WordPress 7.0 — no code changes needed, the viewer and all integrations continue to work cleanly.
**Plugin directory listing assets prepared: banners, icons, and 5 screenshots covering the frontend viewer, Appearance/Sizing settings, the Gutenberg block, and the Enfold ALB element (Elementor and WPBakery work the same way).
1.0.4
*Got feedback from reviews, and time to fix them!
**Readme link issues resolved.
**Readme adjustments to highlight changes across the board.
**Remote file calling is a nono, so I added them to the plugin itself. Removed the capability of externally calling CDN js files entirely now.
**Integrating seamlessly into AVIA / Enfold is not gonna be doable as it would require hijacking the namespace which is a nono. So I made our own, the downside is: non english enfold will have our own little category – for now.
**Every variable was sanitized, but there were a few phpcs ignore annotations that should not have been left there. All integrations, markup, icons, run through a WP escape function.
**Plugin check came back with an extra issue: unprefixed globals. Elementor widget class (and its file) renamed to Spdfembed_Elementor_Widget so Plugin Check stops yelling at me (And this time I am not just commenting the issue out :D).
**Missed Phosphor icons attribution.
*Revised UX
**The light and dark mode selector and configuratior was a bit messy. Improved for clarity and functionality YAY For UX!
**Settings page now caps at 1440px instead of stretching the full window; previews live next to their own colour pickers (Light next to Light, Dark next to Dark), no more “Preview as” toggle.
1.0.3
*Welp, I am old. Last time, I checked we always used the CDN versions of included libraries. I was wrong. Swapped the default options. Thank you WP Plugin guidelines reading for the 5th time.
1.0.2
*Readme missed links to the PDF js and WP Color picker projects. Duhhh…
1.0.1
- Assigned slug caused issues on online test I had to fix… Thanks LIFE! 😀 – assigned slug is now the default. Fingers crossed it wont change again.
Capturas de tela
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best Strands PDF Embed alternatives
All document plugins →FAQ
Strands PDF Embed: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is Strands PDF Embed free?
Yes. Strands PDF Embed is free to download and use from the official WordPress.org plugin directory.
Is Strands PDF Embed safe to use in 2026?
Strands PDF Embed is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites and was last updated 2 months ago, and scores 62/100 on our health check.
How many websites use Strands PDF Embed?
Strands PDF Embed is active on 10+ WordPress websites and has been downloaded 514 times since it launched in June 2026. It was downloaded 98 times in the last 30 days.
Does Strands PDF Embed work with WordPress 7.1?
Yes. The developer has tested Strands PDF Embed up to WordPress 7.1.5, the latest release. It requires WordPress 6.4 or newer.
What PHP version does Strands PDF Embed need?
Strands PDF Embed requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Strands PDF Embed last updated?
The latest version, 1.1.0, was released on October 13, 2026 (2 months ago).
Who makes Strands PDF Embed?
Strands PDF Embed is developed and maintained by strands.
What are the best alternatives to Strands PDF Embed?
The most popular alternatives to Strands PDF Embed are E2Pdf (10K+ installs), Embed Files from Google Dri… (4K+ installs) and WP Calameo (3K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
