{"id":97307,"date":"2019-01-29T13:56:43","date_gmt":"2019-01-29T13:56:43","guid":{"rendered":"https:\/\/fr.wordpress.org\/plugins\/gutenberg-pdf-viewer-block\/"},"modified":"2025-11-27T08:56:10","modified_gmt":"2025-11-27T08:56:10","slug":"pdf-viewer-block","status":"publish","type":"plugin","link":"https:\/\/kk.wordpress.org\/plugins\/pdf-viewer-block\/","author":8670591,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"6.9.4","requires":"5.0","requires_php":"5.6","requires_plugins":null,"header_name":"Gutenberg PDF Viewer Block","header_author":"audrasjb","header_description":"A simple Gutenberg Block to display PDF Viewers on your website.","assets_banners_color":"6f768a","last_updated":"2025-11-27 08:56:10","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/audrasjb","header_plugin_uri":"https:\/\/www.whodunit.fr\/gutenberg-pdf-viewer-block","header_author_uri":"https:\/\/jeanbaptisteaudras.com","rating":4.8,"author_block_rating":4.5714285714286,"active_installs":10000,"downloads":74029,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":2,"sections":["description","installation","changelog"],"tags":{"0.1":{"tag":"0.1","author":"audrasjb","date":"2019-10-23 07:28:22"},"0.2":{"tag":"0.2","author":"audrasjb","date":"2020-07-14 21:45:50"},"1.0":{"tag":"1.0","author":"audrasjb","date":"2021-07-01 15:27:24"},"1.0.1":{"tag":"1.0.1","author":"audrasjb","date":"2021-09-17 13:29:37"},"1.1":{"tag":"1.1","author":"audrasjb","date":"2025-11-27 08:56:10"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":1,"4":0,"5":8},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2157823,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2157823,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2157823,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2157823,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"pdf-viewer-block\/standard":{"name":"pdf-viewer-block\/standard","title":"PDF Viewer","category":"embed","icon":"media-document","description":"A block to embed a PDF Viewer.","keywords":["pdf","viewer","reader"],"textdomain":"pdf-viewer-block","editorScript":"file:.\/admin\/js\/block.js","script":"file:.\/public\/js\/pdf-viewer-block.js","editorStyle":"file:.\/admin\/css\/admin.css","style":"file:.\/public\/css\/pdf-viewer-block.css"}},"tagged_versions":["0.1","0.2","1.0","1.0.1","1.1"],"block_files":["\/tags\/1.1\/.\/admin\/js\/block.js","\/tags\/1.1\/.\/public\/js\/pdf-viewer-block.js","\/tags\/1.1\/.\/admin\/css\/admin.css","\/tags\/1.1\/.\/public\/css\/pdf-viewer-block.css"],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":2021231,"resolution":"1","location":"assets","locale":""},"screenshot-2.gif":{"filename":"screenshot-2.gif","revision":2021231,"resolution":"2","location":"assets","locale":""},"screenshot-3.gif":{"filename":"screenshot-3.gif","revision":2021231,"resolution":"3","location":"assets","locale":""},"screenshot-4.gif":{"filename":"screenshot-4.gif","revision":2021231,"resolution":"4","location":"assets","locale":""},"screenshot-5.gif":{"filename":"screenshot-5.gif","revision":2021231,"resolution":"5","location":"assets","locale":""},"screenshot-6.gif":{"filename":"screenshot-6.gif","revision":2021231,"resolution":"6","location":"assets","locale":""},"screenshot-7.gif":{"filename":"screenshot-7.gif","revision":2021231,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Adding \"PDF Viewer\" Gutenberg Block on my Post.","2":"Selecting\/Uploading a PDF document.","3":"Basic front-end rendering.","4":"Selecting alignement for my PDF Reader.","5":"Applying custom width and height.","6":"\"PDF Viewer\" variations showcase.","7":"Front-end rendering for the selected variations."},"jetpack_post_was_ever_published":false},"plugin_section":[172757],"plugin_tags":[1764,190534,5218,747],"plugin_category":[],"plugin_contributors":[98271,129260],"plugin_business_model":[],"class_list":["post-97307","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-pdf","plugin_tags-pdf-block","plugin_tags-reader","plugin_tags-viewer","plugin_contributors-audrasjb","plugin_contributors-whodunitagency","plugin_committers-audrasjb"],"banners":{"banner":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/banner-772x250.png?rev=2157823","banner_2x":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/banner-1544x500.png?rev=2157823","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/icon-128x128.png?rev=2157823","icon_2x":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/icon-256x256.png?rev=2157823","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/screenshot-1.gif?rev=2021231","caption":"Adding \"PDF Viewer\" Gutenberg Block on my Post."},{"src":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/screenshot-2.gif?rev=2021231","caption":"Selecting\/Uploading a PDF document."},{"src":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/screenshot-3.gif?rev=2021231","caption":"Basic front-end rendering."},{"src":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/screenshot-4.gif?rev=2021231","caption":"Selecting alignement for my PDF Reader."},{"src":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/screenshot-5.gif?rev=2021231","caption":"Applying custom width and height."},{"src":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/screenshot-6.gif?rev=2021231","caption":"\"PDF Viewer\" variations showcase."},{"src":"https:\/\/ps.w.org\/pdf-viewer-block\/assets\/screenshot-7.gif?rev=2021231","caption":"Front-end rendering for the selected variations."}],"raw_content":"<!--section=description-->\n<p>A simple, responsive and 100% free Gutenberg Block to display PDF Viewers \/ Readers on your website.<\/p>\n\n<p>You can easily configure the Reader\u2019s width, height and alignment on the fly.<\/p>\n\n<p>Compatibility:\n- Fully responsive\n- Works fine on Chrome, Firefox, Opera, Edge and IE11\n- If javascript is disabled, a download link is provided as a fallback<\/p>\n\n<p>This plugin uses <a href=\"https:\/\/mozilla.github.io\/pdf.js\/\">PDF.js<\/a> library, provided by Mozilla under Apache license.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin and activate.<\/li>\n<li>No settings page: just enjoy your new Gutenberg block! It\u2019s available in Embeds &gt; PDF Viewer.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Performances: Enqueue admin assets only when showing the block editor screen.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix XSS security vulnerability. Thanks @wpscan who responsively disclosed the issue.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Enqueue scripts and styles only when the block is displayed for better performance and Google Core Web Vitals compliance.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Declare support for WordPress 5.5 and Block Directory.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Plugin initial commit. Works fine :)<\/li>\n<\/ul>","raw_excerpt":"A simple and 100% free Gutenberg Block to display PDF Viewers \/ Readers on your website.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/97307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=97307"}],"author":[{"embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/audrasjb"}],"wp:attachment":[{"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=97307"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=97307"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=97307"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=97307"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=97307"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=97307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}