{"id":52037928,"url":"https://github.com/adobe/pdf-embed-api-samples","last_synced_at":"2026-08-01T21:03:49.789Z","repository":{"id":41178830,"uuid":"197054028","full_name":"adobe/pdf-embed-api-samples","owner":"adobe","description":"Samples for Adobe Document Services PDF Embed API","archived":false,"fork":false,"pushed_at":"2024-04-08T12:49:12.000Z","size":805,"stargazers_count":232,"open_issues_count":31,"forks_count":139,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-04-21T05:48:17.156Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://documentcloud.adobe.com/view-sdk-demo/index.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adobe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-15T18:46:18.000Z","updated_at":"2026-04-20T20:16:41.000Z","dependencies_parsed_at":"2023-02-04T00:00:22.418Z","dependency_job_id":null,"html_url":"https://github.com/adobe/pdf-embed-api-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adobe/pdf-embed-api-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fpdf-embed-api-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fpdf-embed-api-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fpdf-embed-api-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fpdf-embed-api-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adobe","download_url":"https://codeload.github.com/adobe/pdf-embed-api-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adobe%2Fpdf-embed-api-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36170392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-01T02:00:05.789Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-08-01T21:03:49.046Z","updated_at":"2026-08-01T21:03:49.782Z","avatar_url":"https://github.com/adobe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting started with the Adobe Acrobat Services PDF Embed API\n\nThe Adobe Acrobat Services PDF Embed API lets you display PDF files in your website and leverage its power to benefit your users.\n\n## Prerequisites\n\nBefore you can work with the PDF Embed API, you must register your application and get Client Id (API Key). [Request Access](https://www.adobe.com/go/dcsdks_credentials) to get your own Client Id.\n\n## Supported Platforms\n\n1. Windows - Chrome, Firefox, Edge Chromium\n2. Mac - Chrome, Firefox, Safari, Edge Chromium\n3. Android - Chrome\n4. iOS - Chrome, Safari\n\n## Running the samples\n\nThe following sub-sections describe how to run the samples.\n\n### PDF Preview\n\nPDF viewer fills the entire browser window to provide full immersive view for users to read and act on documents.\nTo see it in action, copy the files in the ```Full Window Embed Mode``` folder to your computer, and open index.html in a supported browser.\n\n### Sized Container Embed Mode\n\nPDF viewer is embedded in the sized container in slideshow and landscape mode.\nTo see it in action, copy the files in the ```Sized Container Embed Mode``` folder to your computer, and open index.html in a supported browser.\n\n### In-Line Embed Mode\n\nPDF viewer is embedded in line within the context of the app / web page.\nTo see it in action, copy the files in the ```In-Line Embed Mode``` folder to your computer, and open index.html in a supported browser.\n\n### Lightbox Embed Mode\n\nPDF viewer is displayed on top of web page and fills the entire browser window to provide a focused view. Best suited for content websites, content portals and email.\nTo see it in action, copy the files in the ```Lightbox Embed Mode``` folder to your computer, and open index.html in a supported browser.\n\n### Local PDF file Preview\n\nThis sample demonstrates how to render a local PDF file using the PDF Embed API. It will ask you to pick a PDF file from your computer to start the PDF file rendering using the PDF Embed API.\nTo see it in action, copy the files in the ```More Samples/Work with Local File``` folder to your computer, and open index.html in a supported browser.\n\n### PDF Preview with Annotation tools\n\nPDF viewer will render PDF file along with annotation tools enabled.\nTo see it in action, copy the files in the ```More Samples/PDF Annotations``` folder to your computer, and open index.html in a supported browser.\n\nNote that by default if a user saves the PDF file after adding comments, the file is downloaded locally. This sample shows how to change that behavior, in this case taking no action except adding a small delay.\n\n### PDF Preview with Annotation APIs\n\nPDF viewer will render PDF file along with annotation tools and APIs enabled.\nThese samples show how to use annotation APIs to add, import, export, update and delete annotations programmatically.\nTo see it in action, copy ```More Samples/PDF Annotations APIs``` folder to your computer, and try it out in a supported browser.\n\n### PDF Preview with Events\n\nThis sample shows how to start receiving events from PDF viewer.\nTo see it in action, copy the files in the ```More Samples/Capture PDF Embed API Events``` folder to your computer, and open index.html in a supported browser.\n\n### Handle Search Engine Indexing\n\nThese samples provide different implementations of how to enable indexing of PDF files displayed using PDF Embed API.\nTo see it in action, copy ```More Samples/Handle Search Engine Indexing``` folder to your computer, and try it out in a supported browser.\n\n### Viewer APIs\n\nPDF Embed API provides viewer APIs for customizing the user interface and user interactions with the PDF.\nThese samples show how to use these APIs to perform UI customizations programmatically at run-time.\nTo see it in action, copy the files in the ```More Samples/Viewer APIs``` folder to your computer, and try it out in a supported browser.\n\n### Linearized PDF file Preview\n\nThis sample demonstrates how to render a linearized PDF file using the PDF Embed API.\nTo see it in action, copy the files in the ```More Samples/Linearization``` folder to your computer, and open index.html in a supported browser.\n\n### Save User Preferences\n\nThis sample demonstrates how certain user preferences (such as updated annotation colour, and coach mark after selecting any annotation tool) can be saved and remembered in the browser.\nTo see it in action, copy the files in the ```More Samples/Save User Preferences``` folder to your computer, and open index.html in a supported browser.\n\n### Analytics\n\nIf a website is already integrated with analytics tools, such as, Adobe Analytics or Google Analytics, then PDF analytics can be collected in these tools. These samples demonstrate how website developers can collect PDF analytics generated from PDF Embed API in Adobe Analytics and Google Analytics.\nTo see it in action, copy the files in the ```More Samples/Analytics``` folder to your computer, and try it out in a supported browser.\n\nTo know more about the setup steps, please check the [documentation](https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/howtodata/).\n\n## JavaScript Framework Samples\n\n### React Samples\n\nThese samples demonstrate how to integrate the PDF viewer in a React application.\nTo see it in action, copy ```More Samples/React Samples``` folder to your computer, and follow the instructions in React Samples [README](More%20Samples/React%20Samples/README.md).\n\n### Angular Samples\n\nThese samples demonstrate how to integrate the PDF viewer in an Angular application.\nTo see it in action, copy ```More Samples/Angular Samples``` folder to your computer, and follow the instructions in Angular Samples [README](More%20Samples/Angular%20Samples/README.md).\n\n## Documentation\n\nFor detailed documentation, please check https://www.adobe.com/go/dcviewsdk_docs.\n\n## Licensing\n\nThis project is licensed under the MIT License. See [LICENSE](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadobe%2Fpdf-embed-api-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadobe%2Fpdf-embed-api-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadobe%2Fpdf-embed-api-samples/lists"}