DEMO Playing flv files from WPF Application

.NET Edition of the F-IN-BOX
Darkbringer
Posts: 2
Joined: Wed Oct 24, 2007 2:51 pm
Location: Jerusalem, Israel

DEMO Playing flv files from WPF Application

Postby Darkbringer » Wed Oct 24, 2007 2:58 pm

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?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: DEMO Playing flv files from WPF Application

Postby Softanics » Wed Oct 24, 2007 4:08 pm

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.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Darkbringer
Posts: 2
Joined: Wed Oct 24, 2007 2:51 pm
Location: Jerusalem, Israel

Postby Darkbringer » Wed Oct 24, 2007 4:15 pm

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.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Wed Oct 24, 2007 4:22 pm

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.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 10 guests

cron