diff --git a/js/lightbox_video.js b/js/lightbox_video.js
index 40ec3c08c7f123e6ff0ea7a69c912d78fc5e9a91..3bbc3c70a99007e8bf6db63be4a4fb43feff34e6 100644
--- a/js/lightbox_video.js
+++ b/js/lightbox_video.js
@@ -15,17 +15,17 @@ var Lightvideo = {
}
else if (href.match(/\.mov/i)) {
if (navigator.plugins && navigator.plugins.length) {
- Lightbox.modalHTML ='';
+ Lightbox.modalHTML ='';
} else {
- Lightbox.modalHTML = '';
+ Lightbox.modalHTML = '';
}
}
else if (href.match(/\.wmv/i) || href.match(/\.asx/i)) {
- Lightbox.modalHTML = '';
+ Lightbox.modalHTML = '';
}
else {
Lightbox.videoId = href;
- href = Lightbox.flvPlayer + '?file=' + href;
+ href = Lightbox.flvPlayer + '?file=' + href;
Lightvideo.createEmbed(href, "flvplayer", "#ffffff");
}
},
@@ -37,13 +37,13 @@ var Lightvideo = {
if (variables) {
flashvars = variables;
}
-
Lightbox.modalHTML = '';
},
@@ -74,7 +74,7 @@ var Lightvideo = {
var results = pattern.exec(href);
if (results !== null) {
Lightbox.videoId = results[1];
- Lightvideo.createEmbed("http://www.youtube.com/v/"+Lightbox.videoId, "flvvideo", "#ffffff");
+ Lightvideo.createEmbed("http://www.youtube.com/v/"+Lightbox.videoId + '&fs=1', "flvvideo", "#ffffff");
return true;
}
}
@@ -94,7 +94,7 @@ var Lightvideo = {
var results = pattern.exec(href);
if (results !== null) {
Lightbox.videoId = results[1];
- Lightvideo.createEmbed("http://video.google.com/googleplayer.swf?docId="+Lightbox.videoId+"&hl=en", "flvvideo", "#ffffff");
+ Lightvideo.createEmbed("http://video.google.com/googleplayer.swf?docId="+Lightbox.videoId+"&hl=en", "flvvideo", "#ffffff", 'flashvars="fs=true"');
return true;
}
}