Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No pdfs displaying #22

Open
chriswilakl opened this issue Oct 8, 2017 · 3 comments
Open

No pdfs displaying #22

chriswilakl opened this issue Oct 8, 2017 · 3 comments

Comments

@chriswilakl
Copy link

Hi There. I have installed per instructions but no pdfs are installing. Chrome reporting the following error: class_schedule.html:1143 A Parser-blocking, cross site (i.e. different eTLD+1) script, http://musecdn2.businesscatalyst.com/scripts/4.0/jquery-1.8.3.min.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message.See https://www.chromestatus.com/feature/5718547946799104 for more details.
(anonymous) @ class_schedule.html:1143
pdf.js%3F%3Dv003:7 [PDFObject] Target element cannot be determined

page is flowacademy.co.nz/class_schedule.html

Cheers

@chriswilakl
Copy link
Author

Actually I found what was causing the issue and have edited the page html directly to fix the issue. The rendered code was as follows:
myPDF = PDFObject.embed(file, "#u1434457>.pdf-embedder", options);

I replaced the ">" with a space and all works well.

Cheers

@jp26jp
Copy link
Member

jp26jp commented Oct 9, 2017

Oh that's really weird. I'll make sure to fix that part of the code!

@ahlmab
Copy link

ahlmab commented Feb 23, 2020

In case this helps anyone, I also had the no PDF display issue. Replacing these files in public_html did the trick...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants