{"id":383455,"date":"2026-10-14T10:46:21","date_gmt":"2026-10-14T10:46:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/pristine-pdf-embed\/"},"modified":"2026-10-14T10:46:10","modified_gmt":"2026-10-14T10:46:10","slug":"brilliantminds-pdf-embed","status":"publish","type":"plugin","link":"https:\/\/oci.wordpress.org\/plugins\/brilliantminds-pdf-embed\/","author":23581979,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.3","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"BrilliantMinds PDF Embed","header_author":"brilliantminds","header_description":"Embed PDF files in posts and pages with a fast, beautiful, fully responsive viewer. Includes a Gutenberg block, a shortcode, dark mode, zoom, fullscreen, text selection and many more options.","assets_banners_color":"5a49ad","last_updated":"2026-10-14 10:46:10","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/profiles.wordpress.org\/brilliantminds\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":50,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"brilliantminds","date":"2026-10-14 10:46:10","revision":3746072}},"upgrade_notice":{"1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3746072,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3746072,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3746072,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3746072,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"brilliantminds-pdf-embed\/viewer":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"brilliantminds-pdf-embed\/viewer","title":"PDF Viewer","category":"media","icon":"media-document","description":"Embed a PDF with a fast, responsive viewer.","keywords":["pdf","embed","document","viewer","file"],"textdomain":"brilliantminds-pdf-embed","attributes":{"id":{"type":"number"},"url":{"type":"string"},"title":{"type":"string"},"height":{"type":"number"},"width":{"type":"string"},"page":{"type":"number"},"mode":{"type":"string"},"zoom":{"type":"string"},"theme":{"type":"string"},"download":{"type":"string"},"print":{"type":"string"},"fullscreen":{"type":"string"},"textSelect":{"type":"string"}},"supports":{"html":false,"align":["wide","full"]},"editorScript":"file:.\/index.js","editorStyle":"file:.\/editor.css"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3746072,"resolution":"1","location":"assets","locale":"","width":926,"height":810},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3746072,"resolution":"2","location":"assets","locale":"","width":1917,"height":828},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3746072,"resolution":"3","location":"assets","locale":"","width":1718,"height":831},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3746072,"resolution":"4","location":"assets","locale":"","width":1717,"height":826},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3746072,"resolution":"5","location":"assets","locale":"","width":1715,"height":827},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3746072,"resolution":"6","location":"assets","locale":"","width":1717,"height":557}},"screenshots":{"1":"The viewer in dark mode with the full toolbar.","2":"The PDF Viewer block in the block editor.","3":"Settings: layout.","4":"Settings: appearance.","5":"Settings: toolbar buttons.","6":"Settings: behavior."}},"plugin_section":[],"plugin_tags":[8470,26899,148076,1764,26896],"plugin_category":[50],"plugin_contributors":[286735],"plugin_business_model":[],"class_list":["post-383455","plugin","type-plugin","status-publish","hentry","plugin_tags-document","plugin_tags-embed-pdf","plugin_tags-gutenberg","plugin_tags-pdf","plugin_tags-pdf-viewer","plugin_category-media","plugin_contributors-brilliantminds","plugin_committers-brilliantminds"],"banners":{"banner":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/banner-772x250.png?rev=3746072","banner_2x":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/banner-1544x500.png?rev=3746072","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/icon-128x128.png?rev=3746072","icon_2x":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/icon-256x256.png?rev=3746072","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/screenshot-1.png?rev=3746072","caption":"The viewer in dark mode with the full toolbar."},{"src":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/screenshot-2.png?rev=3746072","caption":"The PDF Viewer block in the block editor."},{"src":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/screenshot-3.png?rev=3746072","caption":"Settings: layout."},{"src":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/screenshot-4.png?rev=3746072","caption":"Settings: appearance."},{"src":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/screenshot-5.png?rev=3746072","caption":"Settings: toolbar buttons."},{"src":"https:\/\/ps.w.org\/brilliantminds-pdf-embed\/assets\/screenshot-6.png?rev=3746072","caption":"Settings: behavior."}],"raw_content":"<!--section=description-->\n<p>BrilliantMinds PDF Embed turns any PDF into a clean, modern reading experience inside your content. Visitors read the document right on your page, with no plugins to install and no third-party services involved. Everything runs from your own server.<\/p>\n\n<p><strong>Highlights<\/strong><\/p>\n\n<ul>\n<li><strong>PDF Viewer block<\/strong> for the block editor: upload or choose a PDF, adjust options in the sidebar.<\/li>\n<li><strong>Shortcode<\/strong> for the classic editor, page builders and widgets: <code>[bmpdf url=\"https:\/\/example.com\/file.pdf\"]<\/code><\/li>\n<li><strong>Continuous scroll or one page at a time<\/strong>, with swipe navigation on touch screens.<\/li>\n<li><strong>Zoom, fit to width, fit to page, rotate<\/strong> and a page number field.<\/li>\n<li><strong>Light, dark or automatic color scheme<\/strong>, plus a toggle so visitors can choose.<\/li>\n<li><strong>Fullscreen mode<\/strong>, download, print and open-in-new-tab buttons. Each one can be turned off.<\/li>\n<li><strong>Selectable, copyable text.<\/strong><\/li>\n<li><strong>Your accent color, corner radius, shadow, width, height and alignment.<\/strong><\/li>\n<li><strong>Top or bottom toolbar<\/strong>, as a full-width bar or a floating pill.<\/li>\n<li><strong>Load on click<\/strong> option so pages with several PDFs stay fast.<\/li>\n<li><strong>Auto-embed<\/strong> option: paste a PDF link on its own line and it becomes a viewer.<\/li>\n<li><strong>Lazy rendering<\/strong>: only the pages near the screen are drawn, so large documents stay smooth.<\/li>\n<li><strong>Accessible<\/strong>: keyboard shortcuts, labeled controls, visible focus and reduced-motion support.<\/li>\n<li><strong>Privacy friendly<\/strong>: no tracking, no cookies, no external requests. The theme toggle remembers a visitor's choice in their own browser.<\/li>\n<li><strong>Translation ready.<\/strong><\/li>\n<\/ul>\n\n<p><strong>Shortcode options<\/strong><\/p>\n\n<p>All options are optional and override the defaults from Settings &gt; PDF Viewer.<\/p>\n\n<ul>\n<li><code>url<\/code> - link to the PDF file.<\/li>\n<li><code>id<\/code> - Media Library attachment ID (use instead of <code>url<\/code>).<\/li>\n<li><code>title<\/code> - title shown in the toolbar.<\/li>\n<li><code>width<\/code>, <code>height<\/code> - for example <code>width=\"80%\" height=\"600\"<\/code>.<\/li>\n<li><code>align<\/code> - <code>left<\/code>, <code>center<\/code> or <code>right<\/code>.<\/li>\n<li><code>mode<\/code> - <code>scroll<\/code> or <code>single<\/code>.<\/li>\n<li><code>zoom<\/code> - <code>width<\/code>, <code>page<\/code> or a percentage such as <code>125<\/code>.<\/li>\n<li><code>page<\/code> - page to open first.<\/li>\n<li><code>theme<\/code> - <code>auto<\/code>, <code>light<\/code> or <code>dark<\/code>.<\/li>\n<li><code>accent<\/code> - hex color, for example <code>#0f766e<\/code>.<\/li>\n<li><code>radius<\/code> - corner radius in pixels.<\/li>\n<li><code>toolbar_position<\/code> - <code>top<\/code> or <code>bottom<\/code>. <code>toolbar_style<\/code> - <code>bar<\/code> or <code>floating<\/code>.<\/li>\n<li>On\/off options (use <code>1<\/code> or <code>0<\/code>): <code>shadow<\/code>, <code>show_title<\/code>, <code>page_input<\/code>, <code>zoom_controls<\/code>, <code>rotate<\/code>, <code>theme_toggle<\/code>, <code>fullscreen<\/code>, <code>download<\/code>, <code>print<\/code>, <code>open_new<\/code>, <code>text_select<\/code>, <code>disable_context<\/code>, <code>load_on_click<\/code>.<\/li>\n<\/ul>\n\n<p>Example: <code>[bmpdf id=\"123\" height=\"600\" theme=\"dark\" mode=\"single\" download=\"0\"]<\/code><\/p>\n\n<p><strong>Developers<\/strong><\/p>\n\n<p>Use the <code>bmpdf_viewer_config<\/code> filter to change the configuration passed to the viewer.<\/p>\n\n<h3>Third-party libraries<\/h3>\n\n<p>This plugin bundles <strong>PDF.js<\/strong> by Mozilla, version 4.10.38, licensed under the Apache License 2.0 (compatible with GPLv2 or later).<\/p>\n\n<ul>\n<li>Source code and project page: https:\/\/github.com\/mozilla\/pdf.js<\/li>\n<li>Package: https:\/\/www.npmjs.com\/package\/pdfjs-dist (version 4.10.38, <code>legacy\/build<\/code> files)<\/li>\n<li>Files in <code>assets\/vendor\/pdfjs\/<\/code>: <code>pdf.min.js<\/code> and <code>pdf.worker.min.js<\/code> are the unmodified <code>legacy\/build\/pdf.min.mjs<\/code> and <code>pdf.worker.min.mjs<\/code> files from that package, renamed to <code>.js<\/code> (so that every web server sends the correct content type) and with the trailing source-map comment removed. <code>cmaps\/<\/code> and <code>standard_fonts\/<\/code> are copied unchanged from the same package. The license is in <code>assets\/vendor\/pdfjs\/LICENSE.txt<\/code>.<\/li>\n<li>To rebuild the minified files from source, follow the build instructions in the PDF.js repository at the tag <code>v4.10.38<\/code>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>brilliantminds-pdf-embed<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the plugin from the Plugins screen.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to Settings &gt; PDF Viewer to choose your defaults.<\/li>\n<li>Edit a post or page, add the <strong>PDF Viewer<\/strong> block, and choose a PDF. Or use the shortcode.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20pdfs%20hosted%20on%20another%20website%3F\"><h3>Does it work with PDFs hosted on another website?<\/h3><\/dt>\n<dd><p>Only if that website allows cross-origin requests (CORS). If it does not, the viewer shows a button that opens the file directly. PDFs in your own Media Library always work.<\/p><\/dd>\n<dt id=\"can%20i%20stop%20people%20from%20downloading%20the%20pdf%3F\"><h3>Can I stop people from downloading the PDF?<\/h3><\/dt>\n<dd><p>You can hide the download and print buttons and disable right-click. This keeps casual visitors from saving the file, but a PDF that is publicly viewable can always be saved by a determined visitor. For truly private documents, use a membership or access-control plugin.<\/p><\/dd>\n<dt id=\"are%20password-protected%20pdfs%20supported%3F\"><h3>Are password-protected PDFs supported?<\/h3><\/dt>\n<dd><p>Yes. The viewer asks the visitor for the password.<\/p><\/dd>\n<dt id=\"does%20it%20send%20data%20to%20any%20external%20service%3F\"><h3>Does it send data to any external service?<\/h3><\/dt>\n<dd><p>No. The viewer library is bundled with the plugin and all files are loaded from your own site.<\/p><\/dd>\n<dt id=\"why%20is%20my%20pdf%20shown%20as%20a%20link%20instead%20of%20a%20viewer%3F\"><h3>Why is my PDF shown as a link instead of a viewer?<\/h3><\/dt>\n<dd><p>The link is shown while the viewer loads, or when JavaScript is disabled, or when the file cannot be read (for example because of missing CORS headers).<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20page%20builders%3F\"><h3>Does it work with page builders?<\/h3><\/dt>\n<dd><p>Yes, any builder with a shortcode or shortcode widget element works. If you add a viewer dynamically after the page loads, call <code>window.BMPDF.init()<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Embed PDF files with a fast, beautiful, responsive viewer. Includes a block, shortcode, dark mode, zoom, fullscreen and many options.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/383455","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=383455"}],"author":[{"embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/brilliantminds"}],"wp:attachment":[{"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=383455"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=383455"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=383455"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=383455"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=383455"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/oci.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=383455"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}