Unable to Load PDF
See original GitHub issueFirst of all thank a ton for providing such a wonderful pdf viewer for anularjs. My issue i am not able to view pdf with the below code, but the toolbar is visible.
<pdfjs-viewer src="{{ pdf.src }}" scale="scale" download="false" print="false" open="false" on-init="onInit()" on-page-load="onPageLoad(page)">
</pdfjs-viewer>
After doing the below code, i am able to view the pdf file but it is not working with boostrap col resize.
<div style="width: 800px; height: 550px;">
<pdfjs-viewer src="{{ pdf.src }}" scale="scale" download="false" print="false" open="false" on-init="onInit()" on-page-load="onPageLoad(page)">
</pdfjs-viewer>
</div>
Please help me as i need to use this with bootstrap.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
8 Ways to Fix Failed to Load PDF Document Error
How do I fix a PDF failed to load? · 1. Download the latest Adobe Reader version · 2. Change PDF settings in...
Read more >How to Fix Error Failed to Load PDF Document in Chrome
How to Fix Error Failed to Load PDF Document Chrome · Fix 1: Update Google Chrome to the Latest Version · Fix 2:...
Read more >Fix: Error Failed to Load PDF Document in Chrome - Appuals
What is causing the “Failed to load PDF document” error? · Method 1: Update Chrome to latest version · Method 2: Using a...
Read more >Failed to load PDF document in Chrome - Stack Overflow
Opening Google Chrome (obviously) · In the top right, click More Untitled. · At the bottom, click Show Advanced Settings. · Under Privacy,...
Read more >Troubleshoot viewing PDF files on the web - Adobe Support
Open Reader or Acrobat. · Choose Help > Check for Updates. · When the Updater dialog box appears, click Download. · After download...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi dear friends, i am unable to load the pdf in Pdf-viewer for angular js… Please Some one to help to load the pdf… Am i struggling at 6 days…if you knows means reply this message to quickly… its urgent… Mam Or Sir… Warning message is coming like ‘PDFJS is not set! Make sure that pdf.js is loaded before angular-pdfjs-viewer.js is loaded.’ otherwise nothing to display the screen in web but already add the what ever js and css plugins are added thanks
I have created JsFiddle link https://jsfiddle.net/r88n7h8e/4/ but it is not working.