I had installed FlashVideo and it worked excellent. But in my site I also using UploadPath module (http://drupal.org/project/uploadpath) . I redriect upload file to sub folder with token "[yyyy]/[mm]/[user-name]". After that, files are in
- Old file : deleted
- Flv, thumbnail file: to "files\[yyyy]/[mm]/[user-name]"
File after covert are OK. But the player set to path "file\file-name.flv" and it not have that file so player can not show them.
If I change the output directory (in FlashVideo FFMPEG setting) to the folder "2008/11/username", this play ok. But if change to [yyyy]/[mm]/[user-name], it false.

So can you add token to Output Directory so it can reconize correct folder?

Comments

Babalu’s picture

subscribing

Alpha5’s picture

One more thing that I forget. My user can not know tag [video] to show video. Do your FlashVideo have any button to add video to the body? Or do you use any editor to add video (that just upload) to the node body?
I still find a editor that allow me upload video, audio, image to attach to a node, and input them to anywhre of the node body, and play them (show image, play audio, play video). Can you suggest me?

travist’s picture

Status: Active » Postponed

That is an interesting module. I have never used it before so I cannot say it is not possible, but it will take some time for me to play around with this module to learn everything about it so that I can make this supported.

Might need to be postponed unless someone submits a patch.

haojiang’s picture

Alpha5
i have the same request as yours , and i use uploadpath too , but the *.flv will not be placed in files\[yyyy]/[mm]/[user-name] but in files\ only , do you know what happend?

Alpha5’s picture

As I think, the Upload path only redirect file by upload module (when attach). The flv, thumbnail and original file is created by Flashvideo module, not by upload, so it's place will be control by Flashvideo module.

May be we have to wait for travist update Flashvideo module to support token in output directory.

kurzweil4’s picture

Any updates on this? Looking at project Token's documentation (http://drupal.org/node/307140), it does not seem that it would be hard to add support for it. It seems quite easy in fact. This would solve a lot of storage organization problems.

Another option which would be great would be to just have the option to have the output directory be the upload path of the FileField. This would solve some problems too.

attheshow’s picture

Status: Postponed » Closed (won't fix)

I don't think we'll be doing the UploadPath module integration since the trend is moving towards FileField and away from generic uploads. The FileField change you mentioned seems more crucial to me. I've created a task for that. #439408: Use output paths configured in FileFields