Closed (fixed)
Project:
SWF Tools
Version:
6.x-2.4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2009 at 19:02 UTC
Updated:
15 May 2009 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
Stuart Greenfield commentedIt should "just work".
If you've upgraded from a previous version of SWF Tools then you need to either run
update.php, or go to your modules page and hit Save configuration to rebuild the theme registry. You don't have to disable and re-enable SWF Tools - just resaving the module page is enough to trigger the rebuild.If that isn't the problem, can you confirm the version of Filefield that you're using - it's working ok here, and I know other users have it working.
Thanks.
Comment #2
jfha73 commentedTried and it did not work, I'm using Filefield version 6.x-3.0
Comment #3
Stuart Greenfield commentedI tested this locally with a download of Filefield 6.x-3.0 straight from the project and the integration is working fine (although I noticed that I didn't make the playlist support an official release yet).
I'm not sure why your integration isn't working - it's only a standard hook that is called by CCK to register the filefield formatters.
If you're comfortable with PHP then you can verify if the hook is being called by adding a diagnostic message to swftools by adding a
drupal_set_message()tofunction swftools_field_formatter_info()as illustrated below.Then go to your modules page, hit save configuration, and you should see four instances of
Registering formatters..If that appears then the hook is being called properly and it should be working.
If you don't see those messages then for some reason CCK isn't calling the swftools hook, but I don't know why that should be.
If you could try this and post again with your result it might help pin down where things are going wrong.
Comment #4
jfha73 commentedI think I might be missing something here, what are this formatters that you are talking about?
This is all I see wfter update.php, enable and disable swftools module and save configuration of modules.
Comment #5
Stuart Greenfield commentedNow I've seen the screenshot I can see the issue.
You need to create your filefield first (the drop down you have in your screen shot).
When you've added the filefield click the "Display field" tab and you'll see the filefield, and some new dropdowns where you can choose the formatter for your filefield. It's in these formatter lists that you'll find the SWF Tools options.
Comment #6
jfha73 commentedDo you mean here:
Comment #7
jfha73 commentedBy the way, this is what the people from filefield told me:
SWFTools doesn't provide an uploader. The library that provides an uploader is called SWFupload, but the Drupal module currently only works with upload.module and hasn't been ported to Drupal 6. The alternative so far is the Image FUpload project, which uses the same library to do the same thing.I really would like this to be working on my websites so it's easier for my users to post videos
Comment #8
jfha73 commentedOK, tell me if I'm missing something here:
Is there anything else I'm not doing?
Comment #9
Stuart Greenfield commentedSWF Tools only provides formatting for a filefield - it doesn't provide any file handling facility of its own.
Comment #10
jfha73 commentedThat is what I tried the first time, with only those three modules but after I create a filefield field it doesn't show me any kind of SWF Tools formatter.
Comment #11
Stuart Greenfield commentedCan you post a screenshot of what you are seeing in the dropdowns on the "Display fields" page when you try to assign a formatter to the filefield. Are you seeing the plain filefield formatters? If you've installed imagefield then do you see their formatters?
Comment #12
Stuart Greenfield commentedI've attached a screenshot from my dev set up as an example of what you should see.
Comment #13
jfha73 commentedNow I got it, thanks for your screenshot
Comment #14
vizint commentedHow do you setup the Display Fields so that the an image that has been uploaded using FileField can be pass the thumbnail to the JW Media Player 4?
I've got the FLV and skin working great, but can't seem to pass the thumbnail correctly.
Comment #15
jfha73 commentedI'm not passing Thumbnails, but I'm going to try to see if I have the same problem.
Comment #16
Stuart Greenfield commentedPlease try to avoid posting to fixed threads, unless you need to re-open it because the original issue wasn't fixed.
I think what you're asking for might be a feature request - so I'm going to start a NEW thread to track this through.
The new thread is #450946: Pass thumbnails to media players.
Thanks.