[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/swftools/ -> CHANGELOG.txt (source)

   1  22 April 2009
   2  -------------
   3  #424866 - Wijering 4 module will now check to see if either the viral, or the
   4  non-viral players are present, and it will use either (with preference for
   5  viral). This should make the download process easier since viral is the default
   6  download offered on the longtail video website.
   7  #408072 - JW Image Rotator controls can be set to hidden as a default from the
   8  settings page. It can be over-ridden on a player basis by using shownavigation
   9  in the input filter.
  10  #395854 - Documentation links fixed for FP2 and FP3.
  11  
  12  21 April 2009
  13  -------------
  14  #414708 - Request to add accessible controls to the Wijering player. An example
  15  of how to do this is available at 
  16  www.longtailvideo.com/support/tutorials/Making-Video-Accessible, which uses
  17  anchor tags to trigger some JavaScript to render the player accessible. I've
  18  done a rough and ready implementation of this just to check it works. The
  19  feature is enabled from the Wijering 4 settings page, and it relies on using
  20  SWF Object 2 for embedding the content since it has to know the player id.
  21  
  22  21 April 2009
  23  -------------
  24  #432188 - Modified code to automatically stop other onepixelout players if
  25  there are multiple players on a page. The code from onepixelout has been
  26  adapted to avoid using a fairly inelegant use of setInterval to keep triggering
  27  the registration of players.
  28  
  29  20 April 2009
  30  -------------
  31  Discovered simpleviewer had stopped working. The filepaths in the xml were
  32  wrong as they included the partial path to the files directory. Not sure if
  33  this was introduced by the fix on March 30. Patched to make it work again, but
  34  should probably follow up March 30 change in more detail to check. Checked -
  35  the issue was that CCK passes a partial path (sites/default/files/image.jpg)
  36  and this is what causes the error. A filter construct (files="image.jpg") was
  37  ok. So the fix is good since it is necessary to support CCK.
  38  
  39  19 April 2009
  40  -------------
  41  #424378 - When using the CCK formatters it is now possible to specify an
  42  alternate handler for the case of a single file being passed to a playlist.
  43  This is primarily of use when handling images where a single image can now be
  44  displayed as a plain image, instead of being placed in a slideshow.
  45  FlowPlayer3 setteings changed so cache is only cleared if new settings are
  46  submitted.
  47  
  48  18 April 2009
  49  -------------
  50  #411348 - FlowPlayer3 canvas size is now configurable on the settings page
  51  and can also be set through an input filter.
  52  The available embedding methods are now cached, rather than having to be built
  53  from scratch. This should improve performance quite a bit, especially when
  54  JavaScript is being added to every page.
  55  Caches now flushed when FlowPlayer3 settings page is seen so that changes to
  56  player configuration are reflected.
  57  
  58  31 March 2009
  59  -------------
  60  #418254 by Mark Theunissen: Fix generation of unique id in lutman.module.
  61  Try #351725 by glorinand in order to fix #401140.
  62  
  63  30 March 2009
  64  -------------
  65  #418550 - Fix spelling of initialize to use US English.
  66  #404076 - Added support for turning multiple CCK fields in to a playlist.
  67  Fixed a bug that became apparent in swftools_playlist_prepare_data() function
  68  that could result in incorrect filepaths being built.
  69  
  70  28 March 2009
  71  -------------
  72  Fix error in regex that was used by filters that prevented [] being used in
  73  place of <>.
  74  
  75  20 March 2009
  76  -------------
  77  Added integrated support for CCK filefield. Based on #404076 and patches from
  78  stormsweeper (/user/131571) and Amitaibu (/user/57511). Enables a formatter
  79  that attaches to filefields to allow the content to be rendered via SWF Tools.
  80  
  81  19 March 2009
  82  -------------
  83  Bring back modified admin form that sets an error and provides the path if a
  84  JavaScript embedding file can't be found (#394276).
  85  
  86  18 March 2009
  87  -------------
  88  #405498 - Background gradient for control bar was missing from settings page. 
  89  
  90  17 March 2009
  91  -------------
  92  In response to #348437 reported by stormsweeper two changes are implemented.
  93  Added status report to main Drupal status page, and SWF Tools status, to give
  94  a warning if the zlib library isn't present. This library is needed to read
  95  height and width data from compressed swf files. Secondly, player modules now
  96  report a default height and width, so if all else fails we can fall back on
  97  those so that media content will display correctly. As part of this the sizing
  98  function has been separated in to a new swftools_set_size() function to try and
  99  clarify the code.
 100  
 101  16 March 2009
 102  -------------
 103  Migrated enhanced color chooser from HEAD. You need to refresh the theme cache
 104  to activate this. Easiest way is go to Administer > Site building > Modules,
 105  don't change anything, and hit Save configuration. 
 106  Brought in support for playslists based on streamed media from HEAD. All media
 107  has to be on the same stream - at present you can't mix streamed and non-
 108  streamed content.
 109  Brought in support for a splash image with FlowPlayer3 - use image="image.jpg"
 110  in the input filter (as for Wijering4).
 111  Added support for product key for commercial FlowPlayers.
 112  Disabled relative urls - more work is needed to confirm that this feature is
 113  working properly. In the interim go back to full paths.
 114  
 115  15 March 2009
 116  -------------
 117  FlowPlayer module was merging $vars->othervars in to the configuration array
 118  for the FlowPlayer. This may be contributory in the broken content that was
 119  reported in #401888.
 120  
 121  11 March 2009
 122  -------------
 123  Reverse code added recently that produces relative urls - it doens't work
 124  correctly for sites that aren't using clean urls. Tackle this properly as part
 125  of the rewrite of url building that is planned, and that will need to try and
 126  address this, plus international sites.
 127  
 128  08 March 2009
 129  -------------
 130  #394858 - Autodetection of action was broken as a result of an intended
 131  optimisation. Gone back to the old method.
 132  #394486 - FlowPlayer3 default player set to latest version.
 133  
 134  06 March 2009
 135  -------------
 136  Quick fix for #384876 until I can come up with a better solution (prevents the
 137  SWF Tools playlist cache clear from deleting everything in the root of the file
 138  system!)
 139  
 140  06 March 2009
 141  -------------
 142  Code for obtaining available methods simplified further - simply calls
 143  module_invoke_all('swftools_methods') to trigger all modules reporting.
 144  RTMP plugin for FlowPlayer3 now configurable on settings page.
 145  colorpicker.js and colorpicker.css prefixed with flowplayer3_ to avoid any
 146  (unlikely) namespace clashes.
 147  FlowPlayer3 commented heavily to try and make this a good reference point for
 148  future modules. Comments could probably be extracted to developer documentation
 149  at some future point to slim down code.
 150  
 151  05 March 2009
 152  -------------
 153  VERY early support for streaming of single flv files via JW4 and FlowPlayser3
 154  players. More a proof of concept at this point as I haven't researched it! At
 155  the moment the playes don't support playlists, but they seem ok for single
 156  files (testing locally using Red5).
 157  swf() function changed to support this - the file assignment for the filename
 158  to a flashvar no longer uses the $file_url which remains internal to SWF Tools,
 159  it now references $vars->othervars['file_url'] as this can be manipulated by
 160  player modules. This is necessary to put the data in the right format for JW4
 161  player. Player modules that don't manipulate that variable should be
 162  unaffected.
 163  File existence checks skipped for streaming files as they could be on a very
 164  different path to the Drupal file system, so we'll not worry.
 165  To use streaming with FlowPlayer3 the streaming plugin must be added to the
 166  FlowPlayer3 shared folder.
 167  
 168  28 February 2009
 169  ----------------
 170  Lots of tidying up of code done, and added many more comments. Added a number
 171  of docblocks to try and describe what functions do.
 172  Changed swftools_[player]_playlist function to be more consistent with Drupal
 173  hooks so they are now [module]_[player]_swftools_playlist. This change appears
 174  in all player modules. While minor it should make code a little easier to read.
 175  Changed calls to such hooks to use module_hook as this is a bit clearer.
 176  Moved code that defines the methods of SWF Tools itself in to a new function
 177  swftools_swftools_methods(). This is more logical since it is actually a hook in
 178  all other modules, so there is no reason SWF Tools should be any different.
 179  Also moved code that merges the generic player methods to this function since
 180  it makes the code that then assembles the available methods cleaner.
 181  Modified swf() so that you can call it with an array of filenames, in which
 182  case it will automatically prepare a playlist and return the markup - should be
 183  easier for end users, although the old system of calling 
 184  swftools_prepare_playlist_data() and then swf_list() will still work.
 185  Deleted swftools_swftools_flashvars() as this hook didn't do anything.
 186  Refactored swftools_methods_available() as it didn't really need so many if /
 187  else if constructs.
 188  Added new function swftools_strip_base_root() that will try to strip the
 189  $base_root part out of path. What this means is that local files are given a
 190  relative path, rather than an absolute path. Not sure if this gives any real
 191  speed gain, but it looks a bit neater, and if swf isn't working it would help
 192  to highlight where an absolute path is being set.
 193  
 194  26 February 2009
 195  ----------------
 196  Experimental - why have swf() and swf_list()? The swf() function can simply
 197  detect if an array of filenames was passed, and if it was then it can call
 198  swftools_prepare_playlist_data() and do what swf_list() does.
 199  
 200  25 February 2009
 201  ----------------
 202  Initialise arrays in swf_list() function to suppress notice errors that are
 203  generated when function is called without passing all settings.
 204  
 205  23 February 2009
 206  ----------------
 207  Fix coding in swftools.admin.status.inc so it doesn't generate multiple
 208  notice errors when rendering status report.
 209  Admin form changed to use the constant FLOWPLAYER3_MEDIAPLAYER, which makes it
 210  more consistent with code elsewhere.
 211  Support for allowscriptaccess parameter added (in response to #380580)
 212  
 213  22 February 2009
 214  ----------------
 215  Issue with patch #371615 identified as an issue with flash node and the way
 216  Drupal handles null when writing to the database (converts to (int)0).
 217  Flash node updated to fix this issue, so patch #371615 can be reinstated.
 218  
 219  19 Feburary 2009
 220  ----------------
 221  Reverse part of patch #371615 as it breaks flash node auto detection of mp3
 222  and flv files as flash node passes a zero, rather than empty.
 223  
 224  17 February 2009
 225  ---------------
 226  Fix reset configuration options on Wijering and FlowPlayer.
 227  
 228  16 Feburary 2009
 229  ----------------
 230  Minor fix to swftools_url_parse() to eliminate notice error when processing
 231  strings of parameters.
 232  swftools_flowplayer3_mediaplayer_playlist() simplified as it is not really
 233  necessary to produce a valid xml file.
 234  Tidy up use of . in concatanation of strings
 235  
 236  12 February 2009
 237  ----------------
 238  #371735 - Fixed - incorrect construction of id tag in HTML.
 239  #371615 by KarenS - fix lines that result in PHP errors when parameters are
 240  not defined.
 241  
 242  07 October 2008
 243  ---------------
 244  #308515 - Fixed - string used for determining extension was empty when a remote
 245  file is being checked, so code changed to check a more appropriate string.
 246  
 247  06 October 2008
 248  ---------------
 249  Appending the nocache string to filenames seems to have broken content, but
 250  I'm sure it was working before. Recommitting without the cache setting until
 251  I can be sure it is working right.
 252  
 253  03 October 2008
 254  ---------------
 255  #314045 - Constants incorrectly defined - fixed.
 256  
 257  23 September 2008
 258  -----------------
 259  Cumulative changes that address a number of issues.
 260  Identification of default players on the admin screen was wrong.
 261  swftools_get_media_url changed due to bug that resulted in double /
 262  appearing in the file path (#308172).
 263  Auto-detection of sizes changed so that players are always auto
 264  detected even when a remote media url is configured.
 265  Test content added to status page to help identify if SWF Tools is
 266  working.
 267  Missing php from <?php in swftools.admin.status.inc
 268  Path to default background image generated using url() function.
 269  
 270  6 September 2008
 271  ----------------
 272  First official release of SWF Tools for Drupal 6!
 273  
 274  Text below describes what was changed as part of this release compared to v5.
 275  
 276  swftools.module
 277  ---------------
 278  Menus updated to v6
 279  Use of l() in filter fixed
 280  Settings call backs updated
 281  File checks in swf() modified to better handle local files(?)
 282  _swftools_tf logic modified - was returning wrong values
 283  allowfullscreen parameter added to _swftools_params and embedding generation routine
 284  Text changed to sentence case for consistency with rest of Drupal
 285  Assigning action in swf() occurred twice - one instance deleted
 286  $nocache logic changed so caching string only appended once at the very end (not sure how this works)
 287  swftools_get_media_url changed to use file_create_url - should allow private file system
 288  Suggested fix for encoding in _swftools_get_flashvars_string applied
 289  swftools_theme() added to allow theme function to be registered
 290  Code that attempts to generate a valid base path altered to make a better guess
 291  Base path made compatible with private file system
 292  Fixes as per issue list at end of this document
 293  Parameter list extended to better support macros
 294  SWF Filter changed to be easier to use with other filters (<swf > is replaced
 295  by [swf ] during the prepare phase, so the code isn't stripped by HTML filters.
 296  [swf ] can be used directly when writing a filter. Filters can now be written
 297  using just [swf file=""] or [swf files=""] and filter will use file/files to
 298  determine if a playlist is intended. [swflist ] can still be used so old filter
 299  entries will work as originally planned.
 300  Filter amended to strip <p></p> from around the filter, to allow W3C validation
 301  to pass.
 302  Direct embedding mark-up changed to be standards compliant.
 303  swf() function parameters altered - now works more like the rest of Drupal 6 as
 304  an array of parameters is passed, rather than a series of parameters - pass an
 305  array with (optional) keys params, flashvars, othervars, methods. Params are
 306  passed to the generation code, flashvars becomes the flashvars string,
 307  othervars and method are passed to SWF Tools handlers.
 308  Check for existence of playlist directory (and creation as required) added to
 309  swftools_get_playlist_path() so it is created without having to visit settings
 310  page.
 311  Constant SWFTOOLS_INSTALLED added to make it easier to notify other modules if
 312  SWF Tools is available.
 313  Adding js to every page now defaults to TRUE (and SWFTOOLS_ALWAYS_ADD_JS added
 314  as a constant for code legibility). This means that SWF Tools behaves as
 315  "expected" with filters, without users having to specifically set this option.
 316  More descriptive messages when no player is configured, so users are directed
 317  to the appropriate settings page.
 318  Various drupal_set_messages made translate by use of t() function.
 319  Wording of settings pages changed to make more consistent with rest of Drupal.
 320  When playing media file_url is added to othervars['file_url'] so that player
 321  modules can access the media file path if they need to. This is particularly
 322  required for FlowPlayer to allow the appropriate config string to be built.
 323  swftools_push_js() added to hook_init(), rather than hook_menu() since it is
 324  technically not a menu function!
 325  New code added to direct embedding to assign an object id to the outer (IE6)
 326  object - without this JW Media Player 4 with IE6 causes pages to say they have
 327  an error.
 328  
 329  
 330  swftools.admin.inc
 331  ------------------
 332  Form creation code adjusted to suit v6 menu call back
 333  Allow full screen parameter added to embed form
 334  Missing files now generate a download link if the download key is set in the
 335  methods array.
 336  Settings page altered slightly to put all file handling options together (some
 337  were under embedding settings). Means embedding settings is now simple for new
 338  users.
 339  Settings moved to sit under Administer > Site configuration > SWF Tools rather
 340  than promoting SWF Tools to a top level below Administer.
 341  Option added to file handling to allow SWF Tools to respond to requests to
 342  access swf, jpg, jpeg, mp3, flv and xml under a private file system.
 343  Cache flushing now calls drupal_flush_all_caches() which clears filters, block
 344  and page caches, so is more likely to ensure changes to flash content are
 345  properly rendered later.
 346  
 347  
 348  swftools.admin.status.inc
 349  -------------------------
 350  Added a status page that generates reports much like the system status report.
 351  Intent is to provide some diagnostics if an installation isn't working.
 352  At the moment it can report on whether the embedding and playback features
 353  appear to be correctly configured (methods are available, supporting files are
 354  available etc)
 355  Status report is found at admin/reports/swftools.
 356  
 357  
 358  genericplayers.module
 359  ---------------------
 360  Menu updated to v6
 361  Option to disable autoplay flv disabled as generic player always autoplays.
 362  
 363  
 364  swfobject.info
 365  --------------
 366  Modified to v6
 367  
 368  
 369  swftools.info
 370  -------------
 371  Modified to v6
 372  
 373  
 374  swfobject.module
 375  ----------------
 376  Added a download key to swfobject_swftools_methods() so the admin form can
 377  provide a link to the required files
 378  
 379  
 380  onepixelout.module
 381  ---------------
 382  Menu updated to v6
 383  Added a download key to onepixelout_swftools_methods() so the admin form
 384  can provide a link to the required files
 385  _swf() and _swflist() functions removed as redundant
 386  
 387  
 388  wijering.info
 389  -------------
 390  Name string renamed JW Media Player 3 to make explicit to version 4 module.
 391  Description string changed to make explicit this is for JW Player 3.
 392  
 393  
 394  wijering.module
 395  ---------------
 396  Menu updated to v6
 397  Added a download key to wijering_swftools_methods() so the admin form can
 398  provide a link to the required files
 399  _swf() and _swflist() functions removed as redundant
 400  
 401  
 402  wijering.admin.inc
 403  ------------------
 404  wijering_admin_form_submit updated to forms API v6
 405  Form routine tweaked to make it look more like a regular system settings form,
 406  ie Reset to default option added to admin form
 407  Confirmation message added to simulate settings form
 408  
 409  
 410  wijering4.module / wijering4.admin.inc / wijering4.info
 411  -------------------------------------------------------
 412  Initial version of a module to support Wijering media player 4.
 413  Some of the parameters have been renamed, some are gone, and some new ones
 414  have been implemented.
 415  
 416  
 417  imagerotator.module / imagerotator.admin.in / imagerotator.info
 418  ---------------------------------------------------------------
 419  Image rotator separated out from JW Media Player 3 - logically this is a
 420  different module to the main player module, so it seems sensible to
 421  have this as a separate package. To the end user it makes a logical
 422  distinction between media players and the image cycler. Also, the JW
 423  Image Rotator is still at version 3, so to have Media Player 4 and
 424  Image Rotator 3 would mean enabling Media Player 3 which is counter
 425  intuitive! Internally it still uses the name WIJERING_IMAGEROTATOR
 426  so the existing variables are preserved, even though this is now a
 427  distinct module.
 428  
 429  
 430  lutman.module
 431  -------------
 432  Added download key to methods array to allow easy download.
 433  
 434  
 435  lutman.info
 436  -----------
 437  Updated to v6
 438  Is descriptor right? It says lutman is included, but it isn't?
 439  
 440  
 441  ufo.module
 442  -------------
 443  Added download key to methods array to allow easy download.
 444  Removed alert pop-ups.
 445  
 446  
 447  ufo.info
 448  -----------
 449  Updated to v6
 450  
 451  
 452  simpleviewer.module
 453  -------------------
 454  Menu updated to v6.
 455  
 456  
 457  swfobject2.module / swfobject2.info
 458  -----------------------------------
 459  Support for SWF Object 2 added, and output made standards compliant.
 460  Uses the flashvars in array format, rather than string form, to provide
 461  clearer javascript, and seems to be working ok.
 462  Original version of this module added the js to the page header, but
 463  that causes content generated with filters to break!
 464  js now added to page body, rather than header - remembered that when filter
 465  caching is enabled the js won't get added to the page header!
 466  New code added to assign unique id to the object (using swf followed by the
 467  same id numbers as the div. Without this JW Media Player 4 with IE6 causes
 468  pages to say they have an error.
 469  
 470  
 471  flowplayer.module / flowplayer.info / flowplayer.admin.inc
 472  ----------------------------------------------------------
 473  Feature request under SWF Tools 5.1 asked for support for FlowPlayer.
 474  This module introduces initial support, but more work needed at the
 475  moment. Adding this module resulted in the changes to swfobject2 to
 476  use the array format, and the addition of the media file path to
 477  the resolved_methods array in SWF Tools itself.
 478  
 479  
 480  Private file handling
 481  ---------------------
 482  Change to method of generating path seems to allow private files to work.
 483  Tested with playback of a swf, and also an mp3 via generic and Wijering players.
 484  If files are placed on the site via FTP then a SWF Tools option must be set
 485  on the File handling page to allow SWF Tools to grant access to media files.
 486  It allows access to swf, mp3, flv, xml, jpg, jpeg and png formats. If access is
 487  denied by any other module then access is not allowed, so content that is
 488  being protected by a module is not compromised by activating this setting.
 489  The default setting for allowing access to private files is OFF, so to let
 490  SWF Tools allow handling of private files it must be explicitly set by the
 491  user on the settings page (Administer > Site configuration > SWF Tools >
 492  File handling > Private file system).
 493  
 494  
 495  General
 496  -------
 497  Broken identifier strings replaced with correct format
 498  UFO and SWFObject 1.5 are both superceded by SWFObject 2.0 - new module written
 499  but not tested extensively yet.
 500  Configuration pages moved to sit under Administer > Site configuration > SWF
 501  Tools, rather than having SWF Tools promoted to its own level.
 502  Default HTML alt added as a constant for clarity, and wording made a little
 503  more informative to assist users who don't see the content.
 504  File locations settings moved from embedding page to file handling page. This
 505  is more consistent, and presents new users with fewer options on the first
 506  settings page. Most people probably never change anything other than the
 507  embedding method at first.
 508  
 509  
 510  Issue queue
 511  -----------
 512  218326 - Full screen does not work
 513  166804 - Fullscreen option for JW PLAYER
 514  153780 - Full Screen Support using Wijering Flash
 515  Full screen now a parameter on the settings page, and passed to flash modules
 516  to enable it.
 517  
 518  191279 - Strange escaping behaviour of ":" and "/" and 1 pixel out Player
 519  173021 - 1PixelOut - Error Opening File
 520  154364 - input formats!
 521  202591 - 1pixelout can't find file
 522  Incorporated the suggested fix to reverse the encoding.
 523  This probably explains "203301 - Error Opening File" as well.
 524  
 525  178283 - Patch to fix bug in "base" parameter for direct embedding
 526  Patch applied - base now properly set when using direct embedding mode.
 527  
 528  179322 - variable_get for Flash Version incorrect
 529  Suggested fix applied.
 530  scale and swliveconnect had similar errors so fixed those too.
 531  
 532  146935 - Menu titles get strange formatting because of surplus white space
 533  Fixed
 534  
 535  157397 - file path for attachment is wrong
 536  Think this is fixed with modified file handling mechanism that was needed as
 537  the "double files" issue occurred with flash node too.
 538  
 539  252956 - Private Uploads and SWFTools
 540  Should be fixed with new code that allows used of private file systems with
 541  SWF Tools. Note - SWF Tools must be allowed to grant access to playlists.
 542  
 543  294163 - Standards Compliant Flash
 544  SWF Tools now produces standards complaint (XHTML 1.0 Strict) using either
 545  direct embedding or via SWF Object 2 *in most cases*. The filter component
 546  has been updated to string the <p></p> that wrap around the <div> containing
 547  the flash, but if you use the format in the middle of a paragraph this won't
 548  work properly and you will get code that FAILS validation. If validation is
 549  important then you may need to test pages containing to SWF Tools content to
 550  verify that they are validating properly.
 551  
 552  181473 - FlowPlayer support
 553  FlowPlayer support has been added.
 554  
 555  233375 - Upgrade to 6.0
 556  Here it is!
 557  
 558  186896 - Wijering player w/playlist shows up on IE, not on FF or Opera
 559  Have not been able to recreate this error, but seems to be ok under all tests
 560  during develop of SWF Tools 6, so assuming can be closed.
 561  
 562  
 563  ; $Id: CHANGELOG.txt,v 1.18.2.24 2009/04/22 21:59:44 stuartgreenfield Exp $


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7