Your address will show here +12 34 56 78

Home Forums General topics for our real estate themes Blocked Content Vimeo or Youtube over HTTPS

This topic contains 0 replies, has 1 voice, and was last updated by  Anna 2 years ago.

  • Author
    Posts
  • #123190

    Anna
    Keymaster

    I notice that embedded YouTube content is being loaded by the theme over HTTP and I cannot find a setting to change this in the theme admin panel. Modern browsers are then blocking the content from YouTube on the SSL pages, e.g. (Firefox 36.0.4):

    “Blocked loading mixed active content ‘http://www.youtube.com/embed/ … wmode=transparent&rel=0’ ”

    Is there a way I can specify YouTube/Vimeo content to be loaded over SSL?

    Answer:

    We are using the official “embed codes” from youtube and vimeo. However it seems that at least youtube switched to a https embed code.

    ….width=”560″ height=”315″ src=”https://www.youtube.com/embed/KaAkyTd165Y” frameborder=”0″ allowfullscreen>

    So please go to help_functions.php at line 992 and you have there the custom_youtube_video function. Change the http to https and we think it should work.

    You can do the same for custom_vimdeo_video at line 984.

You must be logged in to reply to this topic.