Page 1 of 1

DEMO Playing flv files from WPF Application

Posted: Wed Oct 24, 2007 2:58 pm
by Darkbringer
I'm evaluating f-in-box control for a future product. So far, I've managed to launch f-in-box control in a WPF + WinForm app that can play SWF files without any problem, but when I'm sending a FLV file, I only get a white background with the words "Demo Version" written in the center of the control.

When I wrote an ASP.NET 2.0 application, f-in-box managed to play FLV files without a problem.

Is that intended? or am I doing something wrong?

Re: DEMO Playing flv files from WPF Application

Posted: Wed Oct 24, 2007 4:08 pm
by Softanics
Thank you for your question.

Darkbringer wrote:I'm evaluating f-in-box control for a future product. So far, I've managed to launch f-in-box control in a WPF + WinForm app that can play SWF files without any problem, but when I'm sending a FLV file, I only get a white background with the words "Demo Version" written in the center of the control.


How do you load a FLV? Could you please post here a few lines of code?

Thank you.

Posted: Wed Oct 24, 2007 4:15 pm
by Darkbringer
I'm using the following code:

Code: Select all

ctrlFbox.FlashProperty_Movie = filePath;
ctrlFbox.FlashMethod_Play();


If filePath points to a SWF file, the file is played on the control, but if it's a FLV file. The above behavior occurs (White background with 'Demo Version') is shown.

Posted: Wed Oct 24, 2007 4:22 pm
by Softanics
Darkbringer wrote:I'm using the following code:

Code: Select all

ctrlFbox.FlashProperty_Movie = filePath;
ctrlFbox.FlashMethod_Play();


If filePath points to a SWF file, the file is played on the control, but if it's a FLV file. The above behavior occurs (White background with 'Demo Version') is shown.


Yes, that's right. f-in-box is able to play FLV files, but not by using FlashProperty_Movie directly. To play a FLV, f-in-box loads some movie with a FLV player inside and provide the FLV to the player. Please see how to implement it in the sample samples\C#\Sample1_SWF_And_FLV_Player

If you will have problems, just write here or to our support at http://f-in-box.com/support.html

Thank you.