The PDF module trys to load its dependencies via http even if everything else is loaded in HTTPS,
and the modul than blocked by the browser because its http.

thank you for your great module

Here is the error messege of the latest verion of safari:
[Warning] [blocked] The page at https://www.PAGE.de/ was not allowed to run insecure content from http://www.PAGE.de/sites/all/libraries/pdf.js/build/pdf.worker.js. (js__9AK0XC08ELBjkVcrAcfqbjgj9QlVuE6rfS1-ksctjgo__-afh1mwQvf0U6p1DYEI-cScU9Vay9ZhMA6d4_sFADe0__QRVrpeviK-hXt8kGwfZFBsb1eDhx26HdA58Lc7A7iwU.js, line 630)

Comments

orichter created an issue. See original summary.

orichter’s picture

Issue summary: View changes
shenzhuxi’s picture

Assigned: Unassigned » shenzhuxi
Status: Active » Postponed (maintainer needs more info)

I can't access your website. Can you provide detailed information please?

$worker_loader = file_create_url(libraries_get_path('pdf.js') . '/build/pdf.worker.js');

file_create_url should be able to handle https. Have you tried change settings following https://www.drupal.org/https-information?