Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
orichter CreditAttribution: orichter commentedComment #3
shenzhuxi CreditAttribution: shenzhuxi commentedI 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?