erayakartuna/pdf-flipbook

Unable to build

meetdilip opened this issue · 3 comments

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.

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.

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?