diff --git a/js/lightbox_video.js b/js/lightbox_video.js
index 9ea0a2b64fbd89024575edb126bc9ea884686339..3bbc3c70a99007e8bf6db63be4a4fb43feff34e6 100644
--- a/js/lightbox_video.js
+++ b/js/lightbox_video.js
@@ -15,13 +15,13 @@ 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;
@@ -43,6 +43,7 @@ var Lightvideo = {
'quality="high" wmode="transparent" ' + flashvars + ' ' +
'height="' + Lightbox.modalHeight + '" ' +
'width="' + Lightbox.modalWidth + '" ' +
+ 'allowfullscreen="true" ' +
'>';
},
@@ -73,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;
}
}
@@ -93,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;
}
}