Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    Mixed Content: The page at ‘https://royaltruckandequipment.com/tma-truck-technology/’ was loaded over HTTPS, but requested an insecure resource ‘https://www.youtube.com/embed/aWY-6TnKVy8?rel=0&autoplay=1’. This request has been blocked; the content must be served over HTTPS.

    Make sure all your links are secured with the URL beginning with https:// or else you will see those error messages.

    Can you share the shortcodes you using in both pages. The page that the video works and the page that the video does not work.

    Thank you

    • This reply was modified 6 years, 3 months ago by mbrsolution.
    Thread Starter bernadettetp

    (@bernadettetp)

    I’ve tested my site for mixed content and I could not find any. The error above says it is the youtube url that is http. Why is that happening and how can I fix it?

    Also I notice that the url in the error message has ‘autoplay=1’ at the end. But my shortcode that isn’t working does not have the autoplay attribute in it.

    Does not work: [video_lightbox_youtube video_id="aWY-6TnKVy8&rel=0" width="640" height="480" anchor="https://royaltruckandequipment.com/wp-content/uploads/2018/01/Royal-Mobile-Safety-System-e1516987446601.jpg" alt="Work Zone Recording"]

    Works: [video_lightbox_youtube video_id="_mux9kNeGcM&rel=0" width="640" height="480" anchor="https://royaltruckandequipment.com/wp-content/uploads/2018/05/Ep3-Air-Brake-Benefits-Button.jpg" alt="Work Zone Recording"]

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, just for testing purposes. Can you add the code that works in the page with the code that does not work. I am just curious to know what happens.

    Let me know how you go.

    Kind regards

    Thread Starter bernadettetp

    (@bernadettetp)

    Ok, I tested both codes on both pages. Both codes do work on this page: https://royaltruckandequipment.com/attenuator-truck-education/

    And both do not work on this page: https://royaltruckandequipment.com/tma-truck-technology/

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, we are almost there.

    Can you see anything different in the page that does not work in comparison to the page that does work?

    Or you can try the following. Recreate the page that is not working. Sometimes for an unknown reason pages or post become corrupted. Lets hope this works.

    Kind regards

    • This reply was modified 6 years, 2 months ago by mbrsolution.
    Thread Starter bernadettetp

    (@bernadettetp)

    Ok I rebuilt the page and checked that the video lightbox still played as I added each element. ANDDD…

    I discovered the issue lies within the WP Image Carousel element. If I set the On click action to “Open prettyPhoto”, the video does not play. However, if I set the On click action to “None”, the video plays as expected.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I am glad to hear that you found the solution to your problem.

    I discovered the issue lies within the WP Image Carousel element. If I set the On click action to “Open prettyPhoto”, the video does not play. However, if I set the On click action to “None”, the video plays as expected.

    Just one question, is this related to your theme or another plugin? I am just curious to know because our plugin does not have any options in the settings regarding the carousel element.

    Regards

    Thread Starter bernadettetp

    (@bernadettetp)

    This image carousel element is part of the WPBakery Page Builder Plugin.

    https://snag.gy/a4uLkV.jpg

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for sharing. This might help others running into the same problem as you. If your issue is resolved, can you mark this support thread as resolved.

    Thank you

    Thread Starter bernadettetp

    (@bernadettetp)

    Resolved!

    Not sure if this is exactly what was happening for the OP, but in my case, I was having the same error.

    I noticed the video that was produced from the wp video lightbox shortcode was using the prettyPhoto js file from WP Bakery (Visual Composer).
    httpdocs / wp-content / plugins / js_composer / assets / lib / prettyphoto / js / jquery.prettyPhoto.min.js

    Which was only using http in front of it’s vimeo links, hence the mixed content errors.

    View post on imgur.com

    I know it’s not recommended to directly edit plugin files, but as soon as I added the extra ‘s’, the video started working again.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Mixed Content’ is closed to new replies.