Token support without enabling flashvideo for a node type- as an input filter?
| Project: | FlashVideo |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I have a content type called 'video' which I use for uploading and converting videos to flv. I use CCK fields to attach my video files.
I want to be able to embed a flashvideo in other node types (page, for example). However, the only way to do this is to enable flashvideo for page nodes. The problem with this is that I do not want to allow the uploading of videos through page nodes - I want that restricted to my specific 'video' node type. If I enable flashvideo for 'page' nodes, in order to allow me to use the token, then I get an error every time I try to create/edit a page because I have not defined the CCK fields that flashvideo is looking for.
Warning: The required file fields are not yet defined for this content type.
Please visit the FlashVideo settings for this content type and follow the instructions before proceeding.
Perhaps the [video] token support should be moved to an input filter - this would allow it to be used on any node type, without needing to enable flashvideo for that node type.

#1
of perhaps some more detailed selections as radios below the 'Enable the FlashVideo for all nodes of this type' checkbox to allow you to enable just the [video] tag parsing, or everything.
#2
Perhaps a better approach would be integration with video_filter
#3
created an issue on the video_filter module to make it's module author aware of the idea - http://drupal.org/node/375034
#4
I also want to attach video to other content type