Separate default settings for each content type
James Marks - May 2, 2009 - 18:24
| Project: | SWF Tools |
| Version: | 6.x-2.5 |
| Component: | SWF Tools |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
It would be really useful to be able to set separate player and FFMPEG defaults for each content type. (FlashVideo does this, if you need an example of what I'm talking about).
On my site, different content types have different size video and thumbnail requirements but SWF Tools has only one default setting for all types requiring me to explicitly declare settings for every node I create if the settings I need don't match the single default.
Thanks!
James

#1
For me this would need to be a separate module (although it could be a component within SWF Tools).
SWF Tools itself is designed to be an "engine" that makes the process of adding flash fairly easy. I don't want to take the core module too far in providing content type settings as the modules isn't designed as a content handler in its own right, it is more of a system for others to plug in to. And once I start adding content specific options where do I stop!!??!!
The new FlashField module that I'm working up might be something that'll be of interest - that is designed to let you set, for example, heights and widths, on a per-node basis. The project isn't really ready for use yet, but it may be something to keep an eye on. That would let you define different content types, with different defaults. Whether it would let you pass every setting you want I'm not sure at this stage.
#2
I ended up writing a small module that allows me to add my own named field formatters to set height & width parameters for players using SWF Tools. I don't know that it's nice enough to share but it works for me. I'd consider polishing it for others to use but it sounds like it won't be needed it once your FlashField module becomes available. I'll keep my eyes and ears open for it.