/[drupal]/contributions/modules/swftools/simpleviewer/simpleviewer.module
ViewVC logotype

Log of /contributions/modules/swftools/simpleviewer/simpleviewer.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.4.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 19 00:02:10 2009 UTC (7 months, 1 week ago) by stuartgreenfield
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-5
Branch point for: DRUPAL-6--3
Changes since 1.4.2.1: +8 -2 lines
Diff to previous 1.4.2.1 , to branch point 1.4 , to next main 1.7
Discovered simpleviewer had stopped working. The filepaths in the xml were wrong as they included the partial path to the files directory. Not sure if this was introduced by the fix on March 30. Patched to make it work again, but should probably follow up March 30 change in more detail to check.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 17 23:18:10 2009 UTC (8 months, 1 week ago) by stuartgreenfield
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -1 lines
Diff to previous 1.6
In response to #348437 reported by stormsweeper two changes are implemented. Added status report to main Drupal status page, and SWF Tools status, to give a warning if the zlib library isn't present. This library is needed to read height and width data from compressed swf files. Secondly, player modules now report a default height and width, so if all else fails we can fall back on those so that media content will display correctly. As part of this the sizing function has been separated in to a new swftools_set_size() function to try and clarify the code.

Revision 1.4.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 17 23:13:22 2009 UTC (8 months, 1 week ago) by stuartgreenfield
Branch: DRUPAL-6--2
CVS Tags: DRUPAL-6--2-4
Changes since 1.4: +3 -1 lines
Diff to previous 1.4
In response to #348437 reported by stormsweeper two changes are implemented. Added status report to main Drupal status page, and SWF Tools status, to give a warning if the zlib library isn't present. This library is needed to read height and width data from compressed swf files. Secondly, player modules now report a default height and width, so if all else fails we can fall back on those so that media content will display correctly. As part of this the sizing function has been separated in to a new swftools_set_size() function to try and clarify the code.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 6 19:48:01 2009 UTC (8 months, 2 weeks ago) by stuartgreenfield
Branch: MAIN
Changes since 1.5: +9 -6 lines
Diff to previous 1.5
Accidentally committed a version that wasn't intended. This (hopefully) reverses the error.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 6 16:45:48 2009 UTC (8 months, 2 weeks ago) by stuartgreenfield
Branch: MAIN
Changes since 1.4: +6 -7 lines
Diff to previous 1.4
More code tidy up, renamed one of the hooks to try and get the code reading consistently, and FlowPlayer3 now supports streamed playlists.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 1 16:51:00 2009 UTC (8 months, 3 weeks ago) by stuartgreenfield
Branch: MAIN
CVS Tags: DRUPAL-6--2-0, DRUPAL-6--2-2, DRUPAL-6--2-3
Branch point for: DRUPAL-6--2
Changes since 1.3: +5 -5 lines
Diff to previous 1.3
Quite a few 'behing the scenes' tweaks, and improvements to internal comments of SWF Tools. Refer to CHANGELOG.txt for details.

Revision 1.1.2.1.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 23:23:48 2008 UTC (13 months, 3 weeks ago) by stuartgreenfield
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--2-4
Changes since 1.1.2.1.2.19: +2 -3 lines
Diff to previous 1.1.2.1.2.19 , to branch point 1.1.2.1
#314045 - Constants incorrectly defined - fixed.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 23:20:32 2008 UTC (13 months, 3 weeks ago) by stuartgreenfield
Branch: MAIN
Changes since 1.2: +2 -3 lines
Diff to previous 1.2
#314045 - Constants incorrectly defined - fixed.

Revision 1.1.2.1.2.18.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 23:20:17 2008 UTC (13 months, 3 weeks ago) by stuartgreenfield
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-5--2-3, DRUPAL-6--1-3, DRUPAL-6--2-1
Changes since 1.1.2.1.2.18.2.3: +2 -3 lines
Diff to previous 1.1.2.1.2.18.2.3 , to branch point 1.1.2.1.2.18 , to next main 1.1.2.1.2.20
#314045 - Constants incorrectly defined - fixed.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 7 19:42:14 2008 UTC (14 months, 2 weeks ago) by stuartgreenfield
Branch: MAIN
Changes since 1.1: +92 -64 lines
Diff to previous 1.1
Commit of branch DRUPAL-6--1 back to HEAD as part of plans to tidy up the tree!

Revision 1.1.2.1.2.18.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 23 13:36:28 2008 UTC (15 months ago) by stuartgreenfield
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--1-1, DRUPAL-6--1-2
Changes since 1.1.2.1.2.18.2.2: +2 -2 lines
Diff to previous 1.1.2.1.2.18.2.2 , to branch point 1.1.2.1.2.18
Minor updates to module descriptions to start making UI look consistent.

Revision 1.1.2.1.2.18.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 15 22:42:46 2008 UTC (15 months, 1 week ago) by stuartgreenfield
Branch: DRUPAL-6--1
Changes since 1.1.2.1.2.18.2.1: +2 -2 lines
Diff to previous 1.1.2.1.2.18.2.1 , to branch point 1.1.2.1.2.18
Nightly update of SWF Tools 6. This commit alters SWF Object 2 so that it now produces standards compliant code (passes W3C validation for XHTML 1.0 Strict)

Revision 1.1.2.1.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 8 22:37:30 2008 UTC (15 months, 2 weeks ago) by stuartgreenfield
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--2-0, DRUPAL-5--2-1, DRUPAL-5--2-2
Changes since 1.1.2.1.2.18: +1 -1 lines
Diff to previous 1.1.2.1.2.18 , to branch point 1.1.2.1
Backport to SWF Tools 5 of various fixes implemented in SWF Tools 6.

Revision 1.1.2.1.2.18.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 5 15:35:19 2008 UTC (15 months, 2 weeks ago) by stuartgreenfield
Branch: DRUPAL-6--1
Changes since 1.1.2.1.2.18: +26 -53 lines
Diff to previous 1.1.2.1.2.18
Commit of work in progress of SWF Tools 6. This commit includes refactored swf() function, further support for private file system, and now includes simpleviewer. More testing still needed across the suite.

Revision 1.1.2.1.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 2 23:52:58 2007 UTC (2 years, 5 months ago) by sime
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-0, DRUPAL-5--1-1
Branch point for: DRUPAL-6--1
Changes since 1.1.2.1.2.17: +13 -10 lines
Diff to previous 1.1.2.1.2.17 , to branch point 1.1.2.1
* A lot of tweaks and fixes before release.

Revision 1.1.2.1.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 30 15:35:47 2007 UTC (2 years, 5 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.16: +18 -19 lines
Diff to previous 1.1.2.1.2.16 , to branch point 1.1.2.1
* Better support for caching/clearing xml playlist files. Option to force regeneration
* Tweaked simpleviewer to work and accept variables correctly.
* Added swftools_playlist_from_image_gallery() which does as it says.
* Changed swftools_playlist_from_upload() name and made it return a playlist rather than rendered flash.

Revision 1.1.2.1.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 28 23:06:57 2007 UTC (2 years, 5 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.15: +5 -3 lines
Diff to previous 1.1.2.1.2.15 , to branch point 1.1.2.1
* conform to coding stanards, thanks http://drupal.org/project/coder

Revision 1.1.2.1.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 24 17:06:16 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.14: +34 -21 lines
Diff to previous 1.1.2.1.2.14 , to branch point 1.1.2.1
* simpleviewer gets vars correctly
* simpleviewer gets max height and width from playlist
* removed gallery.xml path setting, not useful

Revision 1.1.2.1.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 24 15:34:17 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.13: +18 -0 lines
Diff to previous 1.1.2.1.2.13 , to branch point 1.1.2.1
* Moved $html_alt to $othervars['html_alt'] and added a setting in admin.
* Fixed js player paths to use new path call.
* Fixed flashvar calling in swftools and wijering
* Added swftools_playlist_from_upload_module() which does just that
* swftools_generate_playlist will now generate an md5 if no file name passed in
* added 'image' resolution to wijering flashvar callout.

Revision 1.1.2.1.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 18 16:42:04 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.12: +15 -15 lines
Diff to previous 1.1.2.1.2.12 , to branch point 1.1.2.1
wftools.admin.inc
* File settings, media path, asks for dir in /files or remote http:// and also only displays media path, must be set in settings.php
* Files settings, playlists path asks for dir in /files
* Files settings, allows alternate path for players, but only on same server
* Restored "always add js" option, but with a better description regarding filter caching
* Removed extensive descriptions regarding embedding params, add link to abode tech note
* Altered and add settings to match abobe tech note (added align and salign).
* Changed variable names swftools_movies_... to swftools_params_... to reflect the fact that they are mostly about object/embed params
* Turned checkboxes into selects to save room and prefer text values over TRUE/FALSE
* Fixed color setting only 6 chars, standard now is 7 to include #.
swftools.module
* Made swf_playlist require specific parameters, with file name and playlist data already prepared
* ! swftools_integrate.module is broken due to this
* Split "get_path" function into one each for playlists, media and players. slightly different logic for each, easier to follow now.
* Added seperate "get url" style function specifically for media which correctly looks up the media_url variable and tests file existence.
* Fixed object/embed attribute setting in swftools_swftools_embed, matching adobe tech note.
* Removed redundant playlist callback functions
swf()
* Moved file resolving lower in swf(), so that it could be processed after playlist handling. Cleaned up the file resolving/checking with new functions described above
* Added a "base" var checking which is generally just pointing at files, but you can override it with full url on $params
* Corrected order of width/height overriding.
* Added swftools_push_js, which can be used by any module to push js to the screen, or to just push the default embed.
lutman.module
* Made work with new swftools_push_js
simpleviewer.admin.inc
* Fixed color max text sizes
* Fixed simpleviewer setting processing, correct assignment or variable types
! Feel that /images and /thumbs control is dodgy still
swfobject.module
* Properly uniquified the swfobjects div id.
* Added extra params that were missing.
wijering.module
* Fixed color text lengths
onepixelout.module, onepixelout.info, onepixelout.admin.inc
* Added new flash player plugin: 1 Pixel Out. Not stable but not complex.

Revision 1.1.2.1.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 14 00:43:11 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.11: +14 -253 lines
Diff to previous 1.1.2.1.2.11 , to branch point 1.1.2.1
* Split simpleviewer admin form to simpleviewer.admin.inc
* fixed $base_url path (although should really point to media directory?)
* cleaned up redundant code in simpleviewer.module.

Revision 1.1.2.1.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 13 13:53:12 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.10: +0 -1 lines
Diff to previous 1.1.2.1.2.10 , to branch point 1.1.2.1
* generic returning flashvars bug

Revision 1.1.2.1.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 12 18:02:58 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.9: +30 -128 lines
Diff to previous 1.1.2.1.2.9 , to branch point 1.1.2.1
* restructure xml, no longer callback, xml file created on the fly
* integrated xml workflow properly for tools like simpleviewer which need all the vars to generate the xml to work
* swf_playlist is a new function with a slightly different syntax to swf(), allows you to pass an array of files for dynamic xml generation
* wijering modified to use new format.
* simpleviewer works for the first time. flash_gallery is mostly simpleviewer, so flashgallery support is on it's way except I think that
simpleviwere doesn't support gifs and pngs...

Revision 1.1.2.1.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 29 16:43:27 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.8: +9 -26 lines
Diff to previous 1.1.2.1.2.8 , to branch point 1.1.2.1
Added two flash players to shared/generic. With this, SWF Tools can handle
some techniques out of the box: mp3 and flv. These two players are not
very pretty, and don't have complex features like xml playlist handling, but
they are GPL and maintianed in Drupal repository. The goal is to allow
people to get running quickly, but then to use a professional 3rd-party
script when they are ready.

Revision 1.1.2.1.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 28 18:30:37 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.7: +27 -0 lines
Diff to previous 1.1.2.1.2.7 , to branch point 1.1.2.1
Committing some minor preparation for simpleviewer fixing

Revision 1.1.2.1.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 28 17:59:40 2007 UTC (2 years, 6 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.6: +1 -1 lines
Diff to previous 1.1.2.1.2.6 , to branch point 1.1.2.1
XML support for swftools.module currently utilised by wijering.module. Activated imagerotator and mediaplayer playlists.

Revision 1.1.2.1.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 16 02:37:53 2007 UTC (2 years, 7 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.5: +95 -16 lines
Diff to previous 1.1.2.1.2.5 , to branch point 1.1.2.1
simpleviewer and flash_gallery are mostly decoupled. call to
flash_gallery_render will work out the gallery stuff and call swf()

Revision 1.1.2.1.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 15 04:58:06 2007 UTC (2 years, 7 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.4: +1 -1 lines
Diff to previous 1.1.2.1.2.4 , to branch point 1.1.2.1
Fix description of gallery path

Revision 1.1.2.1.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 15 04:53:12 2007 UTC (2 years, 7 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.3: +170 -66 lines
Diff to previous 1.1.2.1.2.3 , to branch point 1.1.2.1
Rudimentary support for simpleviewer which is now not dependent on flash_gallery and has a configurable xml gallery path. The path could be a static gallery.xml file, or a path that generates one. flash_gallery will essentially override this setting and with its "image_gallery to xml" thing.
TODO: clean up flash_gallery; maybe move generation to simpleviewer: flash_gallery passes array;

Revision 1.1.2.1.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 14 05:18:17 2007 UTC (2 years, 7 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.2: +59 -43 lines
Diff to previous 1.1.2.1.2.2 , to branch point 1.1.2.1
Changed variable names to reflect part of package and also to reflect relationship to simpleviewer xml vars (where applicable)

Revision 1.1.2.1.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 14 04:14:51 2007 UTC (2 years, 7 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1.2.1: +9 -6 lines
Diff to previous 1.1.2.1.2.1 , to branch point 1.1.2.1
Steps to get simpleviewer working off swftools

Revision 1.1.2.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 13 01:37:11 2007 UTC (2 years, 7 months ago) by sime
Branch: DRUPAL-5
Changes since 1.1.2.1: +5 -0 lines
Diff to previous 1.1.2.1
Fix simpleviewer description

Revision 1.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 11 15:38:47 2007 UTC (2 years, 9 months ago) by sime
Branch point for: DRUPAL-5
Changes since 1.1: +163 -22 lines
Diff to previous 1.1 , to next main 1.7
Bit of work on swfobject and simpleviewer

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 6 14:00:00 2007 UTC (2 years, 9 months ago) by sime
Branch: MAIN
CVS Tags: DRUPAL-5--0-0
basic, not working, placeholders for swfoject and simpleviewer

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2