Hi @alve39,
Thank you for your interest in the Algori PDF Viewer plugin.
The error you shared is usually caused by Cross-Origin Resource Sharing (CORS) issues.
Please use one of the two solutions below;
1. Either upload the PDF to your domain and use the PDF viewer from this same domain.
2. Or adjust your HTTP Headers and give your domain permission to access resources from the other domain that currently hosts the PDF.
Hope this helps.
Cheers!
Thread Starter
alve39
(@alve39)
Hi Kevin thanks for your answer. So, the second solution requires me to add
Access-Control-Allow-Origin: http://example.com:8080
to my htaccess file?
Thread Starter
alve39
(@alve39)
Kevin, I’m not sure how to resolve the problem. You see the problem occurs only when I turn on the bunny CDN plugin. If I disable it, everything works fine.
Thanks and good day!