What's new

Youtube Https

JackPH

New Member
Messages
3
Reaction score
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.
 

wmtech

WMTech Staff
XF Licensee
Messages
208
Reaction score
30
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.
 

JackPH

New Member
Messages
3
Reaction score
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:



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?
 

wmtech

WMTech Staff
XF Licensee
Messages
208
Reaction score
30
This update will be released within the next 24 hours.
 

JackPH

New Member
Messages
3
Reaction score
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.
 

themightycasey

New Member
Messages
1
Reaction score
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.
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.
 

wmtech

WMTech Staff
XF Licensee
Messages
208
Reaction score
30
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.
 

wmtech

WMTech Staff
XF Licensee
Messages
208
Reaction score
30
A bugfix has been released with the new 1.1.1 version.

Thanks again!
 
Top