Youtube Plugin - Problem accessing with https

esskay

Member
Hi
In one of the list I am using youtube plugin which is working great when accessed from http://mysite. However, this does not work when I enable ssl and page is accessed with https. It gives blank white space. I contacted the host and he replied as under -

"Thank you for contacting us.

Upon checking, the youtube URL you have here is loaded as http.

Code:
Mixed Content: The page at 'https://www.mysite.com/' was loaded over HTTPS, but requested an insecure resource 'http://www.youtube.com/embed/*********?autoplay=0&fs=1'. This request has been blocked; the content must be served over HTTPS.

Kindly update all URL to https:// to get it to work.

Best Regards,"

I have checked the youtube link in the element and list and noticed that all youtube urls start with an https only. However, when I inspected the element in developer tool the link is shown as http instead of https. If I make the link to https/youtube video loads.

Please advise...I have given the url in My Sites...
 
Ah yes, http:// is hardcoded in ...\plugins\fabrik_element\youtube\layouts\fabrik-element-youtube-detail.php

This is an overridable layout so as a workaround (if you don't want to "hack" this core file) you can add an override and change it to https:// there.
 
hi Troester..Thanks for your quick reply...Can you please give some more details to do override...? Code...which file etc...
 
Hi Troester

./components/com_fabrik/views/list/tmpl/<yourtemplate>/layouts/fabrik-element-youtube-detail.php

I do not have <yourtemplate>/layouts directory. I only have files in <yourtemplate> and there is no directory. Do I need to create layouts directory and place fabrik-element-youtube-detail.php or directly into <yourtemplate> directly ?
 
Neither of them is working...I have tried both...I have changed the youtube link from http to htps in fabrik-element-youtube-detail.php and uploaded to <youtemplate> directory and also in <yourtemplate>/layouts directly. Not working....
 
Ok, not sure how to override in the Fabrik templates.
But it's working with overriding your Joomla template.

Copy
...\plugins\fabrik_element\youtube\layouts\fabrik-element-youtube-detail.php
to
./templates/<yourJoomlatemplate>/html/layouts/fabrik-element-youtube-detail.php
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top