Index: js/lightbox_video.js
===================================================================
--- js/lightbox_video.js (revision 84)
+++ js/lightbox_video.js (working copy)
@@ -23,6 +23,11 @@
else if (href.match(/\.wmv$/i) || href.match(/\.asx$/i)) {
Lightbox.modalHTML = '';
}
+ else if(Lightbox.flvPlayer.match(/flowplayer/i)) {
+ Lightbox.videoId = href;
+ config = "'clip':'" + href + "'";
+ Lightvideo.createEmbed_flowplayer(Lightbox.flvPlayer, "flvplayer", "#ffffff", config);
+ }
else {
Lightbox.videoId = href;
variables = '';
@@ -37,6 +42,21 @@
}
},
+ // createEmbed_flowplayer()
+ createEmbed_flowplayer: function(href, id, color, config) {
+ var bgcolor = 'bgcolor="' + color + '"';
+ var flashvars = 'flashvars="config={' + config + '}" ';
+ var embed_html = '';
+ Lightbox.modalHTML = embed_html;
+ },
+
// createEmbed()
createEmbed: function(href, id, color, variables) {
var bgcolor = 'bgcolor="' + color + '"';