3D FlipBook - Book Directory

g***t@iyba.pro
2020-10-14
2020-10-16

Hi - when I point the url in the code below from "books/pdf/testname.pdf" to a new URL to access our PDF files, the reader will not load these pdf files. If I also change the root folder name from "3d-flip-book" - it also stops working.

What file (if any) can I modify so we can access our PDFs on our server and use a url name that works for us?

   $('#container').FlipBook({
     pdf: 'books/pdf/testname.pdf',

Replies

a***r@3dflipbook.net
2020-10-16
2020-10-16

Use absolute urls - they will works always. If you use relative url it will be calculated from current page url. Do not forget about CORS if you use PDF from another domain.

Log In to leave a comment