3D FlipBook - PDF not loading on iPhone Safari

p***p@gmail.com
2021-02-24
2021-02-25

I have multiple PDFs on this website, here is an example: https://www.timsmagazines.com/work/anniversary/

Earlier when I installed the plugin and made the website live everything was working great, but after a few days when I tried opening any PDF on the iPhone's Safari app it takes forever to load, although this is the case just with iPhone safari app. I checked it on Desktop all browsers, and Google Chrome for iPhone and it works fine right now.

But most of our users are on iPhone using safari I need a quick fix. Please help me figure out this problem URGENTLY!

Thanks, Kashyap Pavra

Replies

a***r@3dflipbook.net
2021-02-25
2021-02-25

insert in .htaccess file on your web server timsmagazines.com:

# 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