3D FlipBook - 3dflipbook.min.js has some error

u***g@unityinfoway.com
2021-07-19
2021-07-23

https://prnt.sc/1d124fz Here is the example file came along with zip it has error in the main file. Do anyone else getting the same error?

Replies

a***r@3dflipbook.net
2021-07-23
2021-07-23

you need to allow CORS on your PDF sources server, add in .htaccess

# CORS for PDFs
<IfModule mod_headers.c>
<Files ~ ".*\.pdf$">
Header add Access-Control-Allow-Origin "*"
Header add Access-Control-Allow-Methods "GET"
Header add Access-Control-Allow-Headers: "Range"
Header add Access-Control-Expose-Headers: "Accept-Ranges, Content-Encoding, Content-Length, Content-Range"
</Files>
</IfModule>
Log In to leave a comment