Code

Discussion on WowBook, a flipbook jQuery plugin

maguiar01

maguiar01 supports this item

Supported

523 comments found.

Can view with this plugin on mobile device if I have 48MB pdf file? (using browser on android and iOS)

Hi,

To be honest i don’t know how well pdfjs (the library used by Wowbook and every other flipbook plugin on Codecanyon) would handle a 48mb pdf file. To play safe i would say to you to not buy Wowbook’s license.

Regards

Hi I purchased your script which I recommend to any NEW reader to this post, and I just wonder HOW to force WooBook to adjust itself to the width and height of a cellphone or tablet automatically? My current settings are these:

wowBook({height:600,width:800,maxHeight:600,hardcovers:true,thumbnailScale:0.50,slideShowDelay:10000,centeredWhenClosed:true,container:true,thumbnailsPosition:’left’,responsiveHandleWidth:50,container:window,containerPadding:”0px”,toc:[[“UNIT 1”,2],]});});

Hi,

I don’t see nothing obviously wrong in the configuration. Maybe the option maxHeight is working as intended (limiting the book size) when you think the book should be bigger? I don’t know.

Anyway, i can’t tell for sure without looking at the whole webpage. Send me a email through the support tab and send me the url of your project, i will take a look and try to figure out the problem.

Regards

jeancy

jeancy Purchased

Hi,

I try to test pdf example on my local computer but I get the following error:

pdf.combined.min.js:1350

Access to XMLHttpRequest at ‘file:///C:/temp/pdf/pdf_example.pdf’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

How can I fix this?

Hi,

The library pdfjs, used by wowbook, loads pdf files using ajax requests.

By default, browsers can’t access local files via ajax. This is a browser security restriction. Also, pdfjs have to do the requests to the same domain, that ’s the reason why are you seeing the CORS message.

To access local files you can run a webserver locally(recommended) or configure the browser to allow accesssing local files. For instance, with Chrome you need to start it with the—allow-file-access-from-files flag in the command line.

Hope that helps

Regards

by
by
by
by
by
by