3D FlipBook - CMS integration

g***g@conceptdesign.ca
2022-03-03
2022-03-04

I'm working with a CMS (not WordPress), and want to place the various files in a different location. I have tried adding...

  window.PDFJS_LOCALE = {
    pdfJsWorker: '/uploads/assets/js/pdf.worker.js',
    pdfJsCMapUrl: 'cmaps'
  };

Before the <script src="/uploads/assets/js/3dflipbook.min.js"></script> (this is the new path).

However, when I attempt to view the page after, it's still attempting to load from the default 'css/black-book-view.css' and 'js/default-book-view.js'.

Am I missing something, or doing this in the wrong place?

Replies

g***g@conceptdesign.ca
2022-03-03
2022-03-03

I've edited my original inquiry as some of it was hidden due to code being pasted. Hoping you're able to help with this. I did purchase the forever license if that makes any difference.

a***r@3dflipbook.net
2022-03-04
2022-03-04

hi, visit: https://3dflipbook.net/simple-jquery-pdf - click Show source code

g***g@conceptdesign.ca
2022-03-04
2022-03-04

Thank, I was able to get it running with that as a guide.

Log In to leave a comment