Flowplayer3 can't use imagecache presets for video thumbnail. I had to apply the following patch as a fix.
--- swftools_flowplayer3.module.orig 2010-05-30 01:50:27.000000000 +0400
+++ swftools_flowplayer3.module 2010-06-02 17:56:20.595109815 +0400
@@ -108,8 +108,8 @@
if ($source) {
// See if we need to apply an imagecache preset
- if ($saved_settings['imagecache_player'] != SWFTOOLS_UNDEFINED) {
- $source['fileurl'] = swftools_imagecache_create_path($saved_settings['imagecache_player'], $source['fileurl']);
+ if ($saved_settings['imagecache']['imagecache_player'] != SWFTOOLS_UNDEFINED) {
+ $source['fileurl'] = swftools_imagecache_create_path($saved_settings['imagecache']['imagecache_player'], $source['fileurl']);
};
$playlist[] = '{ "url": "' . $source['fileurl'] . '", "autoPlay": true, "duration": "0" }';
Comments
Comment #1
maximpodorov commentedThis change was included into dev version at Feb 5 2011. The bug can be closed now.
Comment #2
Stuart Greenfield commentedWas fixed in a recent dev release.