Hello,

I'm not sure if this is by design or a bug but listed as a bug until someone who uses Flashvideo can provide a better answer.

Overview:

A site owner is using Ubercart to sell video files and needs to provide a preview of the video. Current thought would be to use Flashvideo, Ubercart, and CCK Filefield to create this.

Problem:

I have Flashvideo running fine on my localhost using ffmpeg, flvtools, cck filefield. Everything works great out of the box so I know Flashvideo works.

I also have used Ubercart for awhile and have set that up as well and am familiar with how it works.

Both modules work well as a standalone.

When I attempt to create a node that is a node type for Ubercart with the ability to purchase the file, flashvideo is unable to transcode it or display the player when I insert [video] or add the print into contemplate.

The filefield used is labeled download which I specifically state into Ubercart that this field is for purchase.

So I use that to upload a wmv file while I have another filefield called preview that is where the transcoded file is suppose to be played.

Unfortunately, when both modules are used in tandem, they do not work.

Looking into the ffmepg data I see it is empty which leads me to believe that Flashvideo is not even called when the node is saved. I also tried running cron which did not activate Flashvideo. I saw watched to see if ffmpeg was called during both times and it was not.

Is there a way to perhaps makes this work or is this the limitation what can be done.

Notes

For those unfamiliar with Ubercart, there is an option to sell digital downloads as a product. In the settings of Ubercart, you must state the filefield name "download" to remove it from being viewed and to be delivered to the customer after purchase.

Attempted to use the same field for Ubercart and Flashvideo so would only need to upload only once. Flashvideo setting is set to use the "download" field for the file to convert, a "preview" field to show finished video, and "image" to show thumb.

Tested with and without flvtools.

Used same fields in a node type that is not part of Ubercart and Flashvideo converted fine.

Contrib Modules activated are ubercart, flashvideo, cck, cck filefield, contemplate.

Thank you