I cant make your plugin to work, i get this error:
Error: Setting up fake worker failed: "Cannot set properties of undefined (setting 'pdfjsDistBuildPdfWorker')".
i just using files you are using, but in different folder...
Free version was working
I am inside wordpress theme:
$('#container').FlipBook({ pdf: '<?=$pdf; ?>', template: { html: '<?= get_template_directory_uri(); ?>/src/pdf/templates/default-book-view.html', styles: [ '<?= get_template_directory_uri(); ?>/src/pdf/css/font-awesome.min.css', '<?= get_template_directory_uri(); ?>/src/pdf/css/short-black-book-view.css' ], script: '<?= get_template_directory_uri(); ?>/src/pdf/js/default-book-view.js', links: [ { rel: 'stylesheet', href: '<?= get_template_directory_uri(); ?>/src/pdf/css/font-awesome.min.css' } ], sounds: { startFlip: '<?= get_template_directory_uri(); ?>/src/pdf/sounds/start-flip.mp3', endFlip: '<?= get_template_directory_uri(); ?>/src/pdf/sounds/end-flip.mp3' } } });
and i have this before flipbook.min.js
window.PDFJS_LOCALE = { pdfJsWorker: directory_uri + '/src/pdf/js/pdf.worker.js', pdfJsCMapUrl: 'cmaps' };