3D FlipBook - Plugin Issue

r***r@iflair.com
2021-04-27
2021-04-28

Hello 3D Flipbook Team,

Firstly i found flipbook extension on github for magento 2 but this is your free plugin version therefore my client buy paid jquery plugin but it's not work proper.

You can help me.

Replies

a***r@3dflipbook.net
2021-04-27
2021-04-27

Hi, could you describe the issuee?

r***r@iflair.com
2021-04-28
2021-04-28

Hello, earlier we use the version of flipbook from github(magpow/flipbook) at that time it's working fine but i want more features so we decided to purchase it. now after installing the paid version i am facing the jquery issue. Please check below error and let me know

Uncaught TypeError: Cannot read property 'GlobalWorkerOptions' of undefined
    at Object. (3dflipbook.min.js:1806)
    at __webpack_require__ (3dflipbook.min.js:5)
    at Object. (3dflipbook.min.js:7647)
    at __webpack_require__ (3dflipbook.min.js:5)
    at Object. (3dflipbook.min.js:596)
    at __webpack_require__ (3dflipbook.min.js:5)
    at Object. (3dflipbook.min.js:4491)
    at __webpack_require__ (3dflipbook.min.js:5)
    at Object. (3dflipbook.min.js:2495)
    at __webpack_require__ (3dflipbook.min.js:5)
(anonymous) @ 3dflipbook.min.js:1806
__webpack_require__ @ 3dflipbook.min.js:5
(anonymous) @ 3dflipbook.min.js:7647
__webpack_require__ @ 3dflipbook.min.js:5
(anonymous) @ 3dflipbook.min.js:596
__webpack_require__ @ 3dflipbook.min.js:5
(anonymous) @ 3dflipbook.min.js:4491
__webpack_require__ @ 3dflipbook.min.js:5
(anonymous) @ 3dflipbook.min.js:2495
__webpack_require__ @ 3dflipbook.min.js:5
(anonymous) @ 3dflipbook.min.js:2093
__webpack_require__ @ 3dflipbook.min.js:5
(anonymous) @ 3dflipbook.min.js:9479
__webpack_require__ @ 3dflipbook.min.js:5
(anonymous) @ 3dflipbook.min.js:31
(anonymous) @ 3dflipbook.min.js:32
(index):658 Uncaught TypeError: $(...).FlipBook is not a function
    at (index):658
    at Object.execCb (require.js:1650)
    at Module.check (require.js:866)
    at Module. (require.js:1113)
    at require.js:132
    at require.js:1156
    at each (require.js:57)
    at Module.emit (require.js:1155)
    at Module.check (require.js:917)
    at Module.enable (require.js:1143)
a***r@3dflipbook.net
2021-04-28
2021-04-28

you need to copy all libraries from the pro version three.min.js, pdf.min.js, pdf.worker.js and update all other files as well. this error happens because pdf.min.js is not included or outdated.

r***r@iflair.com
2021-04-28
2021-04-28

i think we included pdf.min.js but error are same any idea

a***r@3dflipbook.net
2021-04-28
2021-04-28

Wrong version

r***r@iflair.com
2021-05-17
2021-05-17

hello, you need any detail for my purchase plugin licence key or any .

a***r@3dflipbook.net
2021-05-17
2021-05-17

yes, write a link to the page whee you use the plugin.

a***r@3dflipbook.net
2021-05-18
2021-05-18

Are you sure that this work:

    require([
        'jquery',
        'Magepow_Flipbook/js/plugin/html2canvas.min', 
        'three', 
        'pdfjs-dist/build/pdf',
        'pdfjs-dist/build/pdf.worker',
        'pdfjs-dist/build/pdf.min',
        'flipbook'
         ], function($, html2canvas, three, pdfjs, pdfworker){
            'use strict'
            $('#book').FlipBook({
                pdf: 'http://165.22.223.126/savosportcenter/pub/media/magepow/flipbook/a/s/assignments-js-fundamentals.pdf',
                template: {
                    html:['http://165.22.223.126/savosportcenter/pub/static/version1619602076/frontend/Pearl/weltpixel/fi_FI/Magepow_Flipbook/template/default-book-view.html'],
                    links: [{
                        rel: 'stylesheet',
                        href: ['http://165.22.223.126/savosportcenter/pub/static/version1619602076/frontend/Pearl/weltpixel/fi_FI/Magepow_Flipbook/css/font-awesome.min.css']
                    }],
                    styles: ['http://165.22.223.126/savosportcenter/pub/static/version1619602076/frontend/Pearl/weltpixel/fi_FI/Magepow_Flipbook/css/short-black-book-view.css'],
                    script: ['http://165.22.223.126/savosportcenter/pub/static/version1619602076/frontend/Pearl/weltpixel/fi_FI/Magepow_Flipbook/js/plugin/default-book-view.js']
                }
            });
    });

out of browser console: pdfjsLib is not defined, jQuery.fn.FlipBook is not defined

Log In to leave a comment