summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoseph.olstad2016-08-23 13:36:24 (GMT)
committerjoseph.olstad2016-08-23 13:36:24 (GMT)
commitd5b5c1002078445d0654b367f870279dbae23d9b (patch)
tree67180f719c07c881d65986f98dcc3c40e045c940
parent494e8d7be82279925c3c118fd2f899512e5f4b90 (diff)
Issue #2784245 by dsnopek: default to https://www.youtube.com/embed because youtube redirects anyway YouTube player stopped appearing (legacy player no longer working)7.x-2.7
-rw-r--r--js/lightbox_video.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lightbox_video.js b/js/lightbox_video.js
index d424953..3b63d92 100644
--- a/js/lightbox_video.js
+++ b/js/lightbox_video.js
@@ -86,7 +86,7 @@ Lightvideo = {
var results = pattern.exec(href);
if (results !== null) {
Lightbox.videoId = results[1];
- var href = "//www.youtube.com/embed/"+Lightbox.videoId;
+ var href = "https://www.youtube.com/embed/"+Lightbox.videoId;
var variables = 'fs=1';
if (Lightbox.flvFlashvars.length) {
variables = variables + '&' + Lightbox.flvFlashvars;