Token support without enabling flashvideo for a node type- as an input filter?

mrfelton - February 11, 2009 - 09:53
Project:FlashVideo
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

mrfelton - February 11, 2009 - 10:18

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

mrfelton - February 12, 2009 - 22:23

Perhaps a better approach would be integration with video_filter

#3

mrfelton - February 16, 2009 - 09:26

created an issue on the video_filter module to make it's module author aware of the idea - http://drupal.org/node/375034

#4

Alpha5 - June 10, 2009 - 01:20

I also want to attach video to other content type

 
 

Drupal is a registered trademark of Dries Buytaert.