3D FlipBook - 3dflipbook html with images not work on ipad

m***8@gmail.com
2020-09-28
2020-10-05

I have implemented 3dflipbook with html having images working on desktop smoothly but in ipad not load any images?

Replies

m***8@gmail.com
2020-09-30
2020-09-30

Why you not replying on this issue??

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

sorry for delays, a lot of requests. it is necessary to connect to ipad using browser debugging tolls to see what is wrong.

m***8@gmail.com
2020-10-17
2020-10-17

http://vcommers.com/flipbook/index.html please check this sample i have debugging bug not giving any error on console

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

the problem in html render:

const encoder = new self.window.FileReader();
                    encoder.onloadend = function () {
                        data.content = encoder.result.split(/,/)[1];
                        for(let resolve of data.pendings) {
                          resolve(data.content);
                        }
                        data.pendings = [];
                        resolve(data.content);
                    };
                    encoder.readAsDataURL(request.response);

iOS Safari do not read the images fully. Try to use data urls for your page resources.

m***8@gmail.com
2020-10-20
2020-10-20

i have add this code in 3dflipbook.js but not work please check http://vcommers.com/flipbook/index.html

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

You do not need to add this code, FileReader doesn't work in iOS properly. The only one quick solution is using data urls on server side, when you generate the page.

m***8@gmail.com
2020-10-20
2020-10-20

I have set src of image to base64 data but not work the page url is here http://vcommers.com/flipbook/load.php

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

checking

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

try to use this script http://3dflipbook.net/files/temp/rerender-html-page/3dflipbook.min.js It has extra call for page rendering in 2 seconds after the image loading:

      this.binds.imageLoad = ()=> {
        this.renderImage(this.image);
        this.finishRender();
        setTimeout(()=> {
          this.renderImage(this.image);
          this.finishRender();
        }, 2000);
      };

this works on my debugging environment, but this is very bad solution.

m***8@gmail.com
2020-10-21
2020-10-21

not working i have replace the file 3dflipbook.min.js of http://vcommers.com/flipbook/index.html

m***8@gmail.com
2020-10-21
2020-10-21

change but still not working

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

I have no idea how to fix this, it seems safari has issue: https://drive.google.com/file/d/1VMGzve4NB98LpN7tV1AuHbHVWFhvISNs/view

m***8@gmail.com
2020-10-26
2020-10-27

what is the other option please provide better solution.

r***n@ourboox.com
2022-05-12
2022-05-12

I'm having the same issue. Images are loading fine on desktop but not showing at all on ios. (checked on iphone and ipad with ios 15).

r***n@ourboox.com
2022-05-12
2022-05-12

Important to note that I am trying to load an img tag within html source type - images with image source type are working fine.

Log In to leave a comment