Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Today I switched my site to a SSL protected site. I switched all the web info and Lightroom Publisher Service inform to the https designation.
I am currently using Blacklight 1 with the Theater add on, and now my embedded YouTube videos come up blank.
I think I need verify my https site with YouTube/Google.
Or is there something else in Backlight that need to be changed?
Jack
Offline
Backlight 1 requires a change in the .htaccess file (there’s a setting in Backlight 2 that takes care of this)
See this thread: http://community.theturninggate.net/vie … hp?id=7876
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Rod,
I did fix the .htaccess file and my site works for everything as a secure site, except for the embedded videos.
Don't know where else to reference https in Backlight.
I am hoping it is a YouTube issue.
Jack
Offline
How did you embed the Video? It looks like the links starts with http:// but it should be https://.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Daniel,
I embedded them in the Theater add on.
Not sure which links you mean. Or where I can change them.
Thanks,
Jack
Offline
Hi Jack,
As expected, loading your site in the debugger, I get an error:
Mixed Content: The page at 'https://www.stuffbyjack.com/jackonly/ga … ideo-test/' was loaded over HTTPS, but requested an insecure resource 'http://www.youtube.com/embed//X2jUWQxbw … &hd=1&fs=1'. This request has been blocked; the content must be served over HTTPS.
Try to execute Backlight > Designer > Templates > Clear Template Cache to see if this fixes this issue.
Oh, you are using the latest version of Backlight 1, aren't you?
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
If Daniel's suggestion doesn't work...
The theater youtube embed code starts with:
<iframe src="<?php echo BROWSER_PROTOCOL ?>
When implementing https, did you make sure to change the site URL in Settings?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Daniel's suggestion didn't work. I am on the latest version of Backlight (124) and Theater (126). I change the site URL to https.
Suggestions?
Jack
Offline
Hmm... I would send Ben an email with your backlight admin and ftp credentials and a link to a gallery that shows the issue along with a link to this thread.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Daniel's suggestion didn't work. I am on the latest version of Backlight (124) and Theater (126). I change the site URL to https.
Suggestions?
Jack
Is your host using any caching?
If so, see if you can clear that.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I called my host, Godaddy, no caching one their end. They said from what they see, the "front end" of the call to YouTube in the Theater Add On I suppose has the http in it.
I did sent this link and FTP stuff in an email to Ben, as he just fixed a problem with one of my other sub domain sites I upgraded to Backlight 2. I use that site to test stuff. I put a video up on that site and it played!?!
Not sure what is different. I am going to upgrade another sub domain site that currently is in Backlight 1 with existing video links in it to see if that makes a difference.
Jack
Offline
If using Backlight 2 and the Theater Add-on, YouTube and Vimeo embeds should honor your protocol, whether http or https. Make sure your Backlight settings are correctly set, and refresh your template cache.
For Backlight 1, I can't recall; Backlight 2 definitely offers improvements when it comes to HTTPS support. As announced on our blog, Backlight 1 is end-of-life, and so we will not be patching it with additional HTTPS support. Here's that post, if you haven't yet seen it:
http://theturninggate.net/2020/01/29/ba … fe-update/
If you're going to be using SSL on your site, then you are well advised to upgrade to Backlight 2.
Offline
The protocol for youtube in the old module theater is hard-coded to http.
Offline
An alternative solution is to use Pangolin Theater in BL1. This fixes the bug.
Offline
Ben, Matthew,
Now I understand the issues with the old module theater and the hard coded http.
I am in the process of tying to upgrade to Backlight 2.
I have 2 of my 4 sites upgraded to Backlight 2. The first one was a test site and had some problems that Ben sorted out for me. Thanks again Ben.
The second site was successfully upgraded today, and I installed the Pangolin Theater module. The problem I see is the Backlight Theater template did not carry over. So none of my videos on that site work as the template does not exist anymore.
Question #1, for that upgraded site, do I have to go into each album with an embedded video and manually switch it to the Pangolin Theater template?
That site is www.stuffbyjack.com/oneview
Question #2, for the other 2 Backlight 1 sites, is there a way do that before I upgrade to Backlight 2? And not manually.
The reason is I have a lot (hundreds) of embedded videos on those 2 sites. A lot of work to upgrade.
All the photo albums are fine.
Thanks,
Jack
Offline
Offline
You’ll need to create a new template and assign it to the old albums.
You don’t need to assign templates one album at a time though, you can reassign them all at once in Backlight > Publisher > Albums > Assign Templates.
You cannot install the Backlight 2 Pangolin Theater add-on into Backlight 1. You’ll need to upgrade the sites to Backlight 2, create a new template, run the migration and assign the template to the albums.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Rod, Ben, Matthew and Daniel,
Thanks for all the help with the SSL and upgrade to Backlight 2 issues I was having. I better understand how it works now.
My 2 upgraded-to-Backlight 2 sites are working as they should, including SSL and Theater YouTube embedded video links. I will upgrade the remaining 2 sites in the next few days, with the appropriate new templates where needed, and will be running Backlight 2 on everything. A long journey from the CE3 days when I started with TTG!
One suggestion for documentation, I could not find anything that indicated Backlight 1 Theater add-on would not carry over and work in Backlight 2. There was also no indication, that I could find, that Backlight 2 Pangolin Theater add-on will not work in Backlight 1.
Obviously that means that all theater embedded video albums will have to be updated in Backlight2 with a new template, as indicated. I have a couple of hundred such albums across all 3 of my sites, so some additional unplanned work will be needed to upgrade to Backlight 2 to get it all working.
That explanation in the upgrade documentation for Backlight 1 to Backlight 2 would be helpful for others. It would have saved me and you support guys a lot of time.
Again thanks again. I appreciate it.
Jack
Offline
Hi Jack,
Glad to hear you are finding success with the upgrades. I think you will appreciate that from here, future updates and upgrades will be far simpler to accomplish. The update mechanism introduced in Backlight 2 is a tremendous boon in this regard.
I'll add a blurb to the Backlight 1 upgrade docs to mention that okapi modules do not carry forward. Thanks.
Offline