update to flowplayer 3.2.7
[booh] / bin / booh-backend
index 1975507..cce2d98 100755 (executable)
@@ -1178,7 +1178,7 @@ def walk_source_dir
                 iterations = {}
                 for i in html
                     i.sub!(/~~title~~/, quote_caption(xmldir.attributes['thumbnails-caption'] || utf8(File.basename(dir))))
-                    i.sub!(/~~flowplayer_head_code~~/, ($flv_generator && videos.size > 0) ? '<script type="text/javascript" src="~~pathtobase~~flowplayer-3.2.4.min.js"></script>' : '')
+                    i.sub!(/~~flowplayer_head_code~~/, ($flv_generator && videos.size > 0) ? '<script type="text/javascript" src="~~pathtobase~~flowplayer-3.2.6.min.js"></script>' : '')
                     discover_iterations(iterations, i)
                 end
                 all_pages = []
@@ -1237,7 +1237,7 @@ def walk_source_dir
                                 image_iteration = '<a href="' + flv_videos[videos[index]] + '" style="display:block;' + sizespec + '"' +
                                                   '   id="player' + index.to_s + '">' + video_preview +
                                                   '<img src="~~pathtobase~~play_video.png" style="position:relative;top:-' + ((size[:y]+48)/2).to_s + 'px;border:0;background-color:transparent"/></a>' +
-                                                  '<script>flowplayer("player' + index.to_s + '", "~~pathtobase~~flowplayer-3.2.5.swf")</script>'
+                                                  '<script>flowplayer("player' + index.to_s + '", "~~pathtobase~~flowplayer-3.2.7.swf")</script>'
                                 html_elem.gsub!(/~~image_iteration~~/, apply_hook(:image_iteration, image_iteration, 'video'))
                             else
                                 html_elem.gsub!(/~~image_iteration~~/,
@@ -1434,7 +1434,7 @@ def walk_source_dir
                     i.gsub!(/~~captions~~/, captions4js.join(', '))
                     i.gsub!(/~~title~~/, quote_caption(xmldir.attributes['thumbnails-caption'] || utf8(File.basename(dir))))
                     if $flv_generator && videos.size > 0
-                        i.sub!(/~~flowplayer_head_code~~/, '<script type="text/javascript" src="~~pathtobase~~flowplayer-3.2.4.min.js"></script>')
+                        i.sub!(/~~flowplayer_head_code~~/, '<script type="text/javascript" src="~~pathtobase~~flowplayer-3.2.6.min.js"></script>')
                         i.sub!(/~~flowplayer_active~~/, 'true')
                     else
                         i.sub!(/~~flowplayer_head_code~~/, '')