From ab1ace099c4398a083c455154d4beac38d4a8727 Mon Sep 17 00:00:00 2001 From: Dean Taylor Date: Sat, 18 Oct 2014 16:42:21 +0100 Subject: [PATCH] FIX: Non-secure warning from YouTube thumbnails YouTube thumbnails where being loaded over `http` even on a `https` loaded page. Causing the browser bar to change from green to yellow ![non-secure content loaded icon](http://i.imgur.com/c4GpwCQ.png) --- plugins/lazyYT/assets/javascripts/lazyYT.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lazyYT/assets/javascripts/lazyYT.js b/plugins/lazyYT/assets/javascripts/lazyYT.js index 3df9eb1f52a..5c9f7cfba1d 100644 --- a/plugins/lazyYT/assets/javascripts/lazyYT.js +++ b/plugins/lazyYT/assets/javascripts/lazyYT.js @@ -27,7 +27,7 @@ 'height': height, 'width': width, 'padding-top': paddingTop, - 'background': 'url(http://img.youtube.com/vi/' + id + '/hqdefault.jpg) center center no-repeat', + 'background': 'url(//img.youtube.com/vi/' + id + '/hqdefault.jpg) center center no-repeat', 'cursor': 'pointer', 'background-size': 'cover' })