Update for https
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 14 Jun 2017 17:51:13 +0000 (13:51 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 14 Jun 2017 17:51:13 +0000 (13:51 -0400)
Call entire site using https
update video app to use https

Toolkit/Videos/templates/webDecorator.html
setup.phtml

index 2ff94f2..25fe184 100644 (file)
@@ -1,5 +1,5 @@
-    <div class="v hBox small-6 large-3 columns" style="background: url(http://img.youtube.com/vi/{vCode}/0.jpg) no-repeat scroll center center transparent;">
-        <a href="http://www.youtube.com/embed/{vCode}?rel=0&hd=1" class="various fancybox.iframe">
+    <div class="v hBox small-6 large-3 columns" style="background: url(https://img.youtube.com/vi/{vCode}/0.jpg) no-repeat scroll center center transparent;">
+        <a href="https://www.youtube.com/embed/{vCode}?rel=0&hd=1" class="various fancybox.iframe">
 <!--            <img src="http://img.youtube.com/vi/{vCode}/0.jpg">-->
             <span class="vidoverlay"></span>
         </a>
index cd9be3d..74d7ae1 100644 (file)
@@ -47,7 +47,7 @@ if (($x = strlen($CALLED_FROM_DIR)) > 0) {
 }
 // Added to strip any trailing /'s to make sure we don't end up with many
 $base_url = preg_replace('|/*$|', '', $base_url);
-$BASE_URL = "http://$base_url";
+$BASE_URL = "https://$base_url";
 
 if (!isset($DEBUG)) {
     $DEBUG = (isset($mysecretcode) && $mysecretcode == 1234);
@@ -626,7 +626,7 @@ define('MEDIA_APP_BASE_URL', $mediaAppBaseUrl);
 define('CKEDITOR_JS', MEDIA_APP_BASE_URL . 'ckeditor/4.3.2/ckeditor.js');
 // This needs to be set to the real url ie. http://demo.gaslightmedia.com
 if ($isSecurePage) {
-    $BASE_URL = "http://$base_url";
+    $BASE_URL = "https://$base_url";
 }
 
 // Set CURRENT_BASE_URL according to whether site is secure or not.