{"id":279,"date":"2026-06-23T18:31:16","date_gmt":"2026-06-23T18:31:16","guid":{"rendered":"https:\/\/documentlibrary.pro\/docs\/add-document-library-any-platform\/"},"modified":"2026-06-24T09:40:59","modified_gmt":"2026-06-24T09:40:59","slug":"add-document-library-any-platform","status":"publish","type":"doc","link":"https:\/\/documentlibrary.pro\/fr\/docs\/add-document-library-any-platform\/","title":{"rendered":"Ajouter votre biblioth\u00e8que de documents \u00e0 toute autre plateforme"},"content":{"rendered":"<p>The hosted embed for Document Library Pro is a single, universal snippet that runs on nearly any website. As long as your platform gives you somewhere to drop an embed or a piece of custom HTML, you can display your document library there. Use this guide for any platform we have not covered separately, including other CMSs, plain HTML sites, internal intranets, and bespoke custom builds.<\/p>\n<p><strong>How it works:<\/strong> the embed combines a regular <code>&lt;iframe&gt;<\/code> with a small helper <code>&lt;script&gt;<\/code>. The iframe displays everywhere without exception. On platforms that permit scripts, the helper resizes the library to fit and brings in an in-page document preview. On platforms that block scripts, the library still functions at a fixed height and opens previews in a new tab instead.<\/p>\n<h2 id=\"step-1-copy-your-embed-code\">Step 1: Copy your embed code<\/h2>\n<p>In your hosted dashboard, open <strong>Publier la biblioth\u00e8que<\/strong> to find your embed code, then copy it. Most sites have a single library, and the Publish Library page is where its embed code lives. (If you have built more than one library, copy the code for the one you want from the <strong>Libraries<\/strong> screen instead.) Always paste the exact code from your own dashboard, not the sample below:<\/p>\n<pre>&lt;iframe src=\"https:\/\/your-library.documentlibrary.app\/?dlp_embed=1\" title=\"Document library\" style=\"width:100%;border:0;height:600px;\" loading=\"lazy\"&gt;&lt;\/iframe&gt;\n&lt;script src=\"https:\/\/your-library.documentlibrary.app\/?dlp_embed_resize=1\" async&gt;&lt;\/script&gt;<\/pre>\n<h2 id=\"step-2-find-where-your-platform-accepts-html\">Step 2: Find where your platform accepts HTML<\/h2>\n<p>Almost every platform offers somewhere to add custom HTML. The option you are after tends to look like one of these:<\/p>\n<ul>\n<li><strong>Autres CMS<\/strong> (Drupal, Joomla, Ghost, HubSpot and the like): a &#8220;Custom HTML&#8221;, &#8220;Code&#8221;, or &#8220;Embed&#8221; block or module.<\/li>\n<li><strong>Sites HTML statiques<\/strong>: drop the snippet straight into your page&#8217;s HTML at the point where the library should appear.<\/li>\n<li><strong>Intranets priv\u00e9s<\/strong>: a web part or content block that takes embed code.<\/li>\n<li><strong>Sites personnalis\u00e9s<\/strong> (React, Vue, server-rendered, and so on): add the snippet to your template or page component.<\/li>\n<\/ul>\n<h2 id=\"step-3-paste-your-embed-code-and-publish\">Step 3: Paste your embed code and publish<\/h2>\n<p>Take the embed code from Step 1, drop it into that HTML or embed area, and then save or publish the page. Open the page to view your document library, where visitors can run searches, narrow results by category, and preview or download any document.<\/p>\n<h2 id=\"if-the-library-is-cut-off\">If the library is cut off<\/h2>\n<p>A few platforms drop embeds into a fixed-size container. If your library appears cropped or scrolls within a small frame, make the embed area a touch taller and wider than the library so everything sits comfortably.<\/p>\n<h2 id=\"no-website-use-a-standalone-library\">No website? Use a standalone library<\/h2>\n<p>No website to embed into? No problem. We can host your library as a standalone site, either on your own domain or on ours, and you simply pass around the link. <a href=\"https:\/\/documentlibrary.pro\/fr\/pricing\/\">Get started here<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Use one universal embed code to show your hosted document library on any platform that accepts custom HTML, from other CMSs to static sites.<\/p>","protected":false},"menu_order":0,"template":"","meta":{"footnotes":""},"doc_category":[6],"class_list":["post-279","doc","type-doc","status-publish","hentry","doc_category-platforms"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Add your document library to any other platform<\/title>\n<meta name=\"description\" content=\"Use one universal embed code to show your hosted document library on any platform that accepts custom HTML, from other CMSs to static sites.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/documentlibrary.pro\/fr\/docs\/add-document-library-any-platform\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add your document library to any other platform\" \/>\n<meta property=\"og:description\" content=\"Use one universal embed code to show your hosted document library on any platform that accepts custom HTML, from other CMSs to static sites.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/documentlibrary.pro\/fr\/docs\/add-document-library-any-platform\/\" \/>\n<meta property=\"og:site_name\" content=\"Document Library Pro\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-24T09:40:59+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/add-document-library-any-platform\\\/\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/add-document-library-any-platform\\\/\",\"name\":\"Add your document library to any other platform\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#website\"},\"datePublished\":\"2026-06-23T18:31:16+00:00\",\"dateModified\":\"2026-06-24T09:40:59+00:00\",\"description\":\"Use one universal embed code to show your hosted document library on any platform that accepts custom HTML, from other CMSs to static sites.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/add-document-library-any-platform\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/add-document-library-any-platform\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/add-document-library-any-platform\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/documentlibrary.pro\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/documentlibrary.pro\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Add your document library to any other platform\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#website\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/\",\"name\":\"Document Library Pro\",\"description\":\"Searchable document libraries for any website\",\"publisher\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/documentlibrary.pro\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#organization\",\"name\":\"Document Library Pro\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/favicon-512.png\",\"contentUrl\":\"https:\\\/\\\/documentlibrary.pro\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/favicon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Document Library Pro\"},\"image\":{\"@id\":\"https:\\\/\\\/documentlibrary.pro\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"description\":\"Document Library Pro is hosted document library software that lets you publish searchable, filterable libraries of PDFs, documents and resources on any website or platform.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ajouter votre biblioth\u00e8que de documents \u00e0 toute autre plateforme","description":"Use one universal embed code to show your hosted document library on any platform that accepts custom HTML, from other CMSs to static sites.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/documentlibrary.pro\/fr\/docs\/add-document-library-any-platform\/","og_locale":"fr_FR","og_type":"article","og_title":"Add your document library to any other platform","og_description":"Use one universal embed code to show your hosted document library on any platform that accepts custom HTML, from other CMSs to static sites.","og_url":"https:\/\/documentlibrary.pro\/fr\/docs\/add-document-library-any-platform\/","og_site_name":"Document Library Pro","article_modified_time":"2026-06-24T09:40:59+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/documentlibrary.pro\/docs\/add-document-library-any-platform\/","url":"https:\/\/documentlibrary.pro\/docs\/add-document-library-any-platform\/","name":"Ajouter votre biblioth\u00e8que de documents \u00e0 toute autre plateforme","isPartOf":{"@id":"https:\/\/documentlibrary.pro\/#website"},"datePublished":"2026-06-23T18:31:16+00:00","dateModified":"2026-06-24T09:40:59+00:00","description":"Use one universal embed code to show your hosted document library on any platform that accepts custom HTML, from other CMSs to static sites.","breadcrumb":{"@id":"https:\/\/documentlibrary.pro\/docs\/add-document-library-any-platform\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/documentlibrary.pro\/docs\/add-document-library-any-platform\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/documentlibrary.pro\/docs\/add-document-library-any-platform\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/documentlibrary.pro\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/documentlibrary.pro\/docs\/"},{"@type":"ListItem","position":3,"name":"Add your document library to any other platform"}]},{"@type":"WebSite","@id":"https:\/\/documentlibrary.pro\/#website","url":"https:\/\/documentlibrary.pro\/","name":"Document Library Pro","description":"Biblioth\u00e8ques de documents consultables pour tout site web","publisher":{"@id":"https:\/\/documentlibrary.pro\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/documentlibrary.pro\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/documentlibrary.pro\/#organization","name":"Document Library Pro","url":"https:\/\/documentlibrary.pro\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/documentlibrary.pro\/#\/schema\/logo\/image\/","url":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/favicon-512.png","contentUrl":"https:\/\/documentlibrary.pro\/wp-content\/uploads\/2026\/06\/favicon-512.png","width":512,"height":512,"caption":"Document Library Pro"},"image":{"@id":"https:\/\/documentlibrary.pro\/#\/schema\/logo\/image\/"},"description":"Document Library Pro est un logiciel de biblioth\u00e8que de documents h\u00e9berg\u00e9 qui vous permet de publier des biblioth\u00e8ques consultables et filtrables de PDF, de documents et de ressources sur tout site web ou plateforme."}]}},"_links":{"self":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/types\/doc"}],"version-history":[{"count":1,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/279\/revisions"}],"predecessor-version":[{"id":372,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc\/279\/revisions\/372"}],"wp:attachment":[{"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/media?parent=279"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/documentlibrary.pro\/fr\/wp-json\/wp\/v2\/doc_category?post=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}