I installed swftools, leave its default configuration, then I installed flashnode.
I tried to create a flash content via create content->flash.
It uploaded the flv file into files/flash.
But nothing displayed, and the log shows error: node/files/skin_druplicon.swf file not found.
This is not the file I uploaded, this is something flashnode or swftools is looking for but that is not included anywhere...

Comments

Stuart Greenfield’s picture

Status: Active » Postponed (maintainer needs more info)

That sounds like it is an error with swf tools, not flash node. Flash node simply passes data over to SWF Tools, and it turns it in to mark up.

I can double check if you let me know what version of SWF Tools you are using and see if I can create a similar error.

softtouch’s picture

I downloaded the latest 5.x-1.1 of SWFTools.

Stuart Greenfield’s picture

Title: It does not work, nothing displayed and errors in log » It does not work, nothing displayed and errors in log - problem with SWF Tools generic players

OK, I reset my dev server, downloaded the modules, and I tried to repeat this error. If I use the latest SWF Tools 5.1.1 then I can't get it to play back either mp3 or flv files. I don't get an error about node/files/skin_druplicon.swf, but it certainly doesn't work.

Looking at the mark up being produced the format for the code strings looks a bit odd. I can manually edit it to get mp3 files playing, but so far not flv.

If you download and activate the Wijering player then things work just fine, so that suggests that the problem sits in the generic player code of SWF Tools. Note - you need to install the Wijering player under modules/swftools/shared/flash_media_player.

All flash node does is pass the name of the file you want to play to SWF Tools, so this would appear to be a bug in SWF Tools, not flash node. I'll try to do some more checks as and when time allows, but this looks likes it needs to be posted to the SWF Tools issue queue.

I've adjusted the issue title to make clear this appears to relate to the generic player function of SWF Tools.

Stuart Greenfield’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

OK - did some more checking (our little girl doesn't want to sleep tonight so I'm still up!)

There does seem to be a problem with the way SWF Tools creates the strings it uses to drive the players. I did a quick hack of swftools.module and got things working. When I checked I discovered that there is actually an entry in the issue queue for SWF Tools that addresses this very issue as someone else has come across it, and they propose a similar fix to the hack I put in.

SWF Tools has other methods of inserting flash, and if you try using something like <?php print swf('Test.flv'); ?> then you get the movie with Wijering, but not the default generic player.

Therefore the error is in SWF Tools. I will log an entry on its issue queue and set the issue here to won't fix (although technically it's can't fix, at least not from a flash node perspective!) as there's nothing I can do to flash node to resolve this issue.

Therefore solutions to this issue are to either use the Wijering player, or to apply the fix.