1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Youtube Https

Discussion in '[WMTech] YouTube Integration Essentials' started by JackPH, May 14, 2015.

Share This Page

  1. JackPH

    JackPH XF Licensee

    Messages:
    3
    Likes Received:
    0
    Your addon does not work on my forum because it requests videos over HTTP, not HTTPS, causing Chrome to reject the content.

    Please update your addon to work with HTTPS ASAP, or alternatively please authorise a refund, as is I cannot use your product and it is not fit for purpose.
     
  2. wmtech

    wmtech WMTech Staff XF Licensee

    Messages:
    175
    Likes Received:
    15
    This is not a problem with HTTPS but with Google phasing out the anonymous API, we use in the recent version of our add-on (this demo site also uses HTTPS).

    There will be an update very soon which addresses that problem and will use the non-anonymous API of Youtube.

    All data and pictures of videos posted in the meantime will be corrected automatically once you've installed the new version. You can disregard any error messages created.
     
  3. JackPH

    JackPH XF Licensee

    Messages:
    3
    Likes Received:
    0
    Just to confirm, there is definitely a HTTPS issue, take a look at Chrome console here. The console is clear, then when I click on a video this log entry appears:

    [​IMG]

    Not sure if using the correct API will fix that as well, but please ensure that the new version works fully with HTTPS as well, what is your ETA for the release of your update?
     
  4. wmtech

    wmtech WMTech Staff XF Licensee

    Messages:
    175
    Likes Received:
    15
    This update will be released within the next 24 hours.
     
  5. JackPH

    JackPH XF Licensee

    Messages:
    3
    Likes Received:
    0
    The update has not fixed the issue, Chrome continues to show errors under the console that the add-on is attempting to load an in-secure resource (HTTP) over a HTTPS connection.
     
  6. themightycasey

    themightycasey XF Licensee

    Messages:
    1
    Likes Received:
    0
    Can confirm, same issue at my site.
    Seems to be some sort of problem with how the javascript that this addon uses detects https. For rudimental temporary fix you can edit file /js/wmtech/ytloadenhancer/ytle-min.js and at the start of the file change
    Code:
    !function(e){var t=document,a="http";-1!=bU.indexOf("https")&&(a+="s")
    
    to
    Code:
    !function(e){var t=document,a="https";-1!=bU.indexOf("https")&&(a+="s")
    
    After that its working fine at my end with http and https, but no guarantees given for others.
     
  7. wmtech

    wmtech WMTech Staff XF Licensee

    Messages:
    175
    Likes Received:
    15
    Thank you for your report.

    There has been a silent update which addresses this problem. Please download version 1.1.0 package again and upload the "upload" directory in the package only. There is no need to run the XML.
     
  8. wmtech

    wmtech WMTech Staff XF Licensee

    Messages:
    175
    Likes Received:
    15
    A bugfix has been released with the new 1.1.1 version.

    Thanks again!
     

Share This Page