The forthcoming SWF Tools 6.x-3.x release has quite a lot of changes in the underlying code as a result of fixing some bugs, and optimising other aspects of the code.

Previous upgrades could simply be installed over the existing one, but this time round there are a few more steps. Note that all input filters and calls to the swf() function should be unaffected.

Upgrade steps are:

  1. Move your existing support files from sites/all/modules/swftools/shared to sites/all/libraries, in accordance with #535592: Better place to store players and libraries, where file locations are described in this comment.
  2. Disable all SWF Tools modules from Administer > Site building > Modules
  3. Delete contents of the sites/all/modules/swftools directory, and all sub-directories.
  4. Install the new SWF Tools package to sites/all/modules/swftools as normal.
  5. Refresh your modules list by reloading Administer > Site building > Modules
  6. Re-enable SWF Tools core module and supporting modules as required.
  7. Run the update process at update.php to execute some required upgrades to your configuration.
  8. Use SWF Tools as normal!

Note the requirement to run update.php. You will experience error messages if you don't do this as the way SWF Tools stores some of its player settings has been changed. Running update.php will preserve your current settings and migrate them to the new format.

If you call SWF Tools from PHP via swf() then things should carry on as normal. However, some of the underlying SWF Tools functions have been changed, and some have been removed, as part of code improvements. Check readme.txt for details.

I'm still testing the module and developing the next release, but it is starting to be stable now. If you experience errors with the upgrade process, or the new module, please post as a new thread. Please post on this thread if the upgrade instuctions given above are wrong!

Comments

Stuart Greenfield’s picture

Status: Active » Needs review
lordrt21’s picture

hello
sorry if am posting in the wrong section, but I followed the upgrade steps from 2.x to 3.0 but still am not able to view my flv video on my page, I configured my swftools file handling options accordingly (using flowplayer3) as well but still no video being shown.
Is there a config I missed somewhere for flowplayer3, example a config for its path or anything else?
Right now when I rightclick on the place where the video player should be I get 'movie not loaded' although when I debugged using firebug i got the right path to the video file in use.

lordrt21’s picture

Component: Documentation » SWF Tools
Category: task » support
Priority: Normal » Critical

hello
sorry if am posting in the wrong section, but I followed the upgrade steps from 2.x to 3.0 but still am not able to view my flv video on my page, I configured my swftools file handling options accordingly (using flowplayer3) as well but still no video being shown.
Is there a config I missed somewhere for flowplayer3, example a config for its path or anything else?
Right now when I rightclick on the place where the video player should be I get 'movie not loaded' although when I debugged using firebug i got the right path to the video file in use.

Stuart Greenfield’s picture

Category: support » task
Priority: Critical » Normal

Modifying as part of issue queue review.

No-one else has reported issues with the upgrade process so this sounds like it may have been user specific?

Changing category to task.

Please raise a new issue if there is an underlying problem here.

lordrt21’s picture

Hello again, it seemed the problem was with my host server, which has been resolved internally from there itself, thanks and sorry for any trouble caused with this issue