From 5ad01dac8108bf17aad71459e1f892159f822841 Mon Sep 17 00:00:00 2001 From: Lorenz H-S Date: Thu, 9 Jan 2014 21:45:00 +0000 Subject: [PATCH] embed youtube over SSL --- js/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/plugins.js b/js/plugins.js index 849d547..ccd31bd 100644 --- a/js/plugins.js +++ b/js/plugins.js @@ -147,7 +147,7 @@ plugins.factory('userPlugins', function() { var match = message.match(regExp); if (match && match[7].length==11){ var token = match[7]; - var embedurl = "http://www.youtube.com/embed/" + token + "?html5=1&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0"; + var embedurl = "https://www.youtube.com/embed/" + token + "?html5=1&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0"; return ''; }