Hello,
I am building a website on Drupal 6 and I want the users to have 2 options when created a new node (I'm not talking about different content types).

More specifically, when a user clicks on "Create Content-->New Video", I want him to have one option to upload his own video on the server and one option to embed a video from YouTube. That would be something like a pair of links (Upload Video or Embed Video) and when the user chooses one of them, the appropriate page/form for creating the node would appear.

Ideally I would like that option to use some Ajax/jquery (i'm not very familiar with those).

I repeat that both those options should be part of the same content type, so creating two different node types is not an option.

Thank you in advance for your assistance. I'm looking forward to any ideas.
ntg

Comments

vm’s picture

There is no module that handles this as far as I know.

you have the emfield.module to handle 3rd party videos embeded in the content and you have the filefield.module which can handle direct upload of the video.

My guess is you will need some custom code implemented in a custom module to do exactly as you want. If you don't possess the skillset to write the custom code, two separate content types is likely the only way to go beyond paying someonoe to write the custom module for you. If paying someone is the avenue you want to take, considering a placing a thread in the paid services forum.

ntg’s picture

Hi!
Thank you for your reply.
I made a research and found a module called Conditional Fields (http://drupal.org/project/conditional_fields)
It's still on beta release but it does exactly what I needed.