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.
Highlights
[bmpdf url="https://example.com/file.pdf"]Shortcode options
All options are optional and override the defaults from Settings > PDF Viewer.
url – link to the PDF file.id – Media Library attachment ID (use instead of url).title – title shown in the toolbar.width, height – for example width="80%" height="600".align – left, center or right.mode – scroll or single.zoom – width, page or a percentage such as 125.page – page to open first.theme – auto, light or dark.accent – hex color, for example #0f766e.radius – corner radius in pixels.toolbar_position – top or bottom. toolbar_style – bar or floating.1 or 0): shadow, show_title, page_input, zoom_controls, rotate, theme_toggle, fullscreen, download, print, open_new, text_select, disable_context, load_on_click.Example: [bmpdf id="123" height="600" theme="dark" mode="single" download="0"]
Developers
Use the bmpdf_viewer_config filter to change the configuration passed to the viewer.
This plugin bundles PDF.js by Mozilla, version 4.10.38, licensed under the Apache License 2.0 (compatible with GPLv2 or later).
legacy/build files)assets/vendor/pdfjs/: pdf.min.js and pdf.worker.min.js are the unmodified legacy/build/pdf.min.mjs and pdf.worker.min.mjs files from that package, renamed to .js (so that every web server sends the correct content type) and with the trailing source-map comment removed. cmaps/ and standard_fonts/ are copied unchanged from the same package. The license is in assets/vendor/pdfjs/LICENSE.txt.v4.10.38.