Okay
  Public Ticket #1463112
Home Video Background stopped working
Closed

Comments

  • Liz started the conversation

    This used to work, I haven't changed the YouTube video. Might it be caused by adding SSL? Is there a fix for that? Also after doing some reading here I uploaded an /images/video-placeholder.jpg but that's not displaying either.

  •  1,973
    Support replied

    Hello Liz

    Plz open /js/jquery.mb.YTPlayer.js and modify this line:

    tag.src = "http://www.youtube.com/player_api";

    to

    tag.src = "https://www.youtube.com/player_api";

    Hit hard refresh (Ctrl+F5) to clear the cache.


    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Liz replied

    I replaced several instances of "http://" in that file and the video background reappeared!

    I'm still getting a "no padlock" in my URL though, apparently the error is related, "whynopadlock.com" says: "A file with an insecure url of "

    " was loaded via the javascript file: https://www.liquidmotion.net/wp-includes/js/jquery/jquery.js?ver=1.12.4 on line 3. The insecure URL may not be directly contained in the script file and may exist elsewhere.   ...I did add the https in the Appearance- Theme Options interface, so it seems to still be hiding elsewhere.

  •  1,973
    Support replied

    Hi Liz,

    Looks like you have top modify this line as well

    jQuery.getJSON('https://gdata.youtube.com/feeds/api/videos/' + videoID + '?v=2&alt=jsonc', function (data, status, xhr) {

    in /js/jquery.mb.YTPlayer.js line 515

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy