• Resolved freeman3737

    (@freeman3737)


    Hello,

    When I use this plugin to create a lightbox for a youtube video and include the auto thumbnail option the video thumbnail works and displays properly but when I click the link the thumbnail the video will not play.

    Google displays “insecure content” like a popup blocker and if I hit “allow insecure content” then the video will play properly in the Lightbox.

    Javascript console displays this error:

    “Failed to load resource: the server responded with a status of 403 ()
    (index):122 Uncaught TypeError: Cannot read property ‘setDefaults’ of undefined
    at HTMLDocument.<anonymous> ((index):122)
    at l (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at Function.ready (jquery.min.js:2)
    at HTMLDocument.A (jquery.min.js:2)
    plugins.js:16 Mixed Content: The page at ‘https://www.speechandvoice.com/#wp-video-lightbox/0/&#8217; was loaded over HTTPS, but requested an insecure resource ‘https://www.youtube.com/embed/PvnbQh3ZCb0?rel=1&#8217;. This request has been blocked; the content must be served over HTTPS.”

    What can I do to fix this?

    This plugin seems to be working great on some of the other websites I am seeing in this form.

    I have attached the site.

    • This topic was modified 6 years, 8 months ago by freeman3737.
    • This topic was modified 6 years, 8 months ago by freeman3737.

    The page I need help with: [log in to see the link]

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

    (@mbrsolution)

    Hi, can you share the shortcode you are currently using? Do you have a cache plugin installed in your site?

    Regards

    Thread Starter freeman3737

    (@freeman3737)

    Here is the shortcode: [video_lightbox_youtube video_id=”PvnbQh3ZCb0″ width=”640″ height=”480″ auto_thumb=”1″]

    Yes I am using W3 Total Cache and I am also using Cloudflare.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, looking at your shortcode it looks like the double quotes are not correct. Can you make sure you are using double quotes as such "" Then carry out another test.

    In regards to the cache plugin and Cloudflare, can you check to see if one of the settings is stopping our plugin from working correctly.

    If you are using the correct double quotes and the above does not help, can you carry out the following test. Can you test a different theme, one of WordPress default themes like Twenty Seventeen? If that does not help can you disable all of your other plugins, then carry out another test?

    Thank out

    • This reply was modified 6 years, 8 months ago by mbrsolution.
    • This reply was modified 6 years, 8 months ago by mbrsolution.
    Thread Starter freeman3737

    (@freeman3737)

    Hey thanks for the reply. I am not sure what you are suggesting by “double quotes”.

    [video_lightbox_youtube video_id=”PvnbQh3ZCb0″ width=”640″ height=”480″ auto_thumb=”1″]

    Has double quotes. Do you suggest trying this?

    [video_lightbox_youtube video_id=””PvnbQh3ZCb0″″ width=””640″” height=””480″” auto_thumb=””1″”]

    That is not working either…

    I tried using the plugin on a different website that doesn’t have a caching plugin. This also does not work.

    The only way I can get the plugin to work is if I disable the SSL certificate which isn’t possible since Google is now heavily frowning upon not having a secure site.

    I am putting in the video ID as shown above and the plugin is pulling “https://www.youtube.com&#8221; not “https://www.youtube.com&#8221;

    This makes me thing its on the plugins end since its the one doing that.

    ????

    • This reply was modified 6 years, 8 months ago by freeman3737.
    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    Has double quotes. Do you suggest trying this?

    [video_lightbox_youtube video_id=””PvnbQh3ZCb0″″ width=””640″” height=””480″” auto_thumb=””1″”]

    No, that is not what I meant. When I was looking at your code I thought one or two double quotes looked different. That is why I made that suggestion but then perhaps it was my glasses that made me see the double quotes incorrectly :). Sorry about this.

    I tried using the plugin on a different website that doesn’t have a caching plugin. This also does not work.

    Does this site also uses SSL certificate?

    I am putting in the video ID as shown above and the plugin is pulling “https://www.youtube.com” not “https://www.youtube.com”

    Perhaps you should try testing the following plugin Easy HTTPS Redirection.

    Let me know how you go.

    Regards

    Hello,

    I am also using this plugin and have ran into the same issue after installing an SSL certificate. Unlike freeman3737, I have no caching plugins and can assure you that no SSL plugin fixes this, not even ‘Easy HTTPS Redirection’. It seems to be that the developer has assigned the https:// directly in his code.

    Edit:
    The plugin itself isn’t the issue, I just found out that a plugin called “Hover Effects Builder” was colliding with it. I fixed it by going to ‘/wp-content/plugins/hover-effects-builder/assets/js’ and opening ‘hi-frontend.min.js’ and replacing all ‘http:’ references with ‘https:’

    Regards.

    • This reply was modified 6 years, 8 months ago by lilolad.
    Thread Starter freeman3737

    (@freeman3737)

    Thanks for the reply lilolad.

    I actually solved the issue by following a similar route. I just went to the plugin files itself on my server and replaced all of the http with https.

    Now I am trying to figure out why the youtube titles will not display.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi @freeman3737, I am glad to hear that you have resolved your issue. I am marking this thread as resolved.

    Now I am trying to figure out why the youtube titles will not display.

    Can you open up a new support thread.

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Insecure Content Issues With Youtube Videos’ is closed to new replies.