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

Unable to build #16

Open
meetdilip opened this issue Apr 1, 2021 · 3 comments
Open

Unable to build #16

meetdilip opened this issue Apr 1, 2021 · 3 comments

Comments

@meetdilip
Copy link

I downloaded the repo, unzipped it into a folder, added a page1.pdf. PDF file was made using Libre Office

and as per the repo README.md, replaced the file name in

> to define the src, open pdfjs/viewer.js and change to line 30.

var DEFAULT_URL =  "compressed.tracemonkey-pldi-09.pdf";

replaced the file name above to page1.pdf and then clicked index.html in the folder.

But it keeps spinning even though the PDF was a single page, single sentence in content. Please tell me how build a Flip Book using this repo and kindly correct me if I am wrong. Thanks.

@EwonRael
Copy link

for security reasons web browsers don't like to display content from other places with different security protocols. That's what's causing this issue for you. If you implement this in an actual website things will be aligned in a way that will make your web browser happy.

@starinspace
Copy link

for security reasons web browsers don't like to display content from other places with different security protocols. That's what's causing this issue for you. If you implement this in an actual website things will be aligned in a way that will make your web browser happy.

Is it possible to bypass this somehow to be able to watch it offline?

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

4 participants