Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Line 476 of swftools.module makes file assignments, depending on whether we are embedding an swf directly, or using a player.
There are two cases and a default, but case SWFTOOLS_CUSTOM looks like it does exactly the same as default:
So what's the difference, and when would anyone use SWFTOOLS_CUSTOM. Can this case be removed to tidy up the code?
Comments
Comment #1
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedI don't think this is needed / used, having written the FlexPaper module which effectively places a swf inside another swf.
If someone wants to do this then they ought to implement a player module.
So I've removed it, unless someone convinces me otherwise.