Commit d5b5c100 authored by joseph.olstad's avatar joseph.olstad

Issue #2784245 by dsnopek: default to https://www.youtube.com/embed because...

Issue #2784245 by dsnopek: default to https://www.youtube.com/embed because youtube redirects anyway YouTube player stopped appearing (legacy player no longer working)
parent 494e8d7b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment