• Resolved jstead

    (@jstead)


    Hi,

    We are displaying our learning system over https:// and a getting mixed content error when viewing a page with hot spot image content.
    Mixed Content Error

    Doesn’t occur on interactive videos, quizes or images with the click for tooltip that we also use.

    Not sure if there are any settings we can specify it to use https and if its supported?

    Thanks,
    Jason

    • This topic was modified 7 years, 8 months ago by jstead. Reason: adding image of error message
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Hi,

    Thanks for letting me know. None of the content types are supposed to load external resources.
    In this instance, I think it was an old workaround that had been forgotten(previously SVGs wasn’t supported). I’ve created an issue for getting it fixed: HFP-1215

    If you’d like to remove the warning right away you should be able to do so by changing http to https in the following file: wp-content/uploads/h5p/libraries/H5P.ImageHotspotQuestion-1.6/image-hotspot-question.css
    And then you have to delete the aggregated files cache, i.e. all the files in the following folder: wp-content/uploads/h5p/cachedassets/
    They will regenerate on the next page view with the update version of file you changed. Note that you may get some PHP warnings(sql) on the first page view that you can safely ignore.

    Plugin Author icc0rz

    (@icc0rz)

    Note that you can avoid the PHP warnings by emptying the following database table:
    delete from wp_h5p_libraries_cachedassets;
    (you may have a different prefix than wp_)

    Thread Starter jstead

    (@jstead)

    Great, thank you for quick response.

    Worked perfectly, and didn’t see any PHP errors on first load either (don’t have database access on this particular box so couldn’t clear that DB table)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘https://’ is closed to new replies.