Fullscreen video

F-IN-BOX for Delphi / Builder C++ / VCL
fmsanchez
Posts: 11
Joined: Sun Oct 26, 2008 12:28 pm

Fullscreen video

Postby fmsanchez » Wed Oct 29, 2008 7:13 pm

Hello,

I'm not able to switch to fullscreen video when using a FLVPlayBack control and clicking the skin's fullscreen button. I have also tried by code through the enterFullScreenDisplayState method but still nothing.

Has anyone tried it?
Kind regards,
Francisco Sanchez

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

Postby Softanics » Wed Oct 29, 2008 7:26 pm

Thank you for your question.

Have you called AllowFullscreen = true ?

Thank you.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

fmsanchez
Posts: 11
Joined: Sun Oct 26, 2008 12:28 pm

Postby fmsanchez » Wed Oct 29, 2008 8:44 pm

Thanks for answering,

the only reference to AllowFullscreen I have found is for embedding the swf in html, but that doesn't apply to Delphi.

Or am I missing something?
Kind regards,

Francisco Sanchez

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

Postby Softanics » Thu Oct 30, 2008 8:39 am

fmsanchez wrote:the only reference to AllowFullscreen I have found is for embedding the swf in html, but that doesn't apply to Delphi.


AllowFullscreen is a property that enables / disables ability to change into fullscreen mode:

http://www.f-in-box.com/delphi/help/ind ... creen.html

Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

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

fmsanchez
Posts: 11
Joined: Sun Oct 26, 2008 12:28 pm

Postby fmsanchez » Thu Oct 30, 2008 9:54 am

I was not using the last version and that property didn't exist.

Now it works when clicking the button in the swf. It doesn't work if I call AS3 code from Delphi however. By reading Flash documentation it is by design. I'd like to be able to play video fullscreen programmatically. Is there any workaround possible? I know that standalone players are allowed to do that.
Kind regards,

Francisco Sanchez

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

Postby Softanics » Fri Oct 31, 2008 8:07 am

fmsanchez wrote:I know that standalone players are allowed to do that.


Could you please show me an example?

Thank you.
Best regards, Artem A. Razin,

F-IN-BOX support

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

fmsanchez
Posts: 11
Joined: Sun Oct 26, 2008 12:28 pm

Postby fmsanchez » Fri Oct 31, 2008 10:45 am

Hi Artem,

I just read it in the documentation:

The ActionScript that initiates full-screen mode can be called only in response to a mouse click or keypress. If it is called in other situations, it will be ignored (in ActionScript 2.0) or throw an exception (in ActionScript 3.0).

...

These restrictions apply to the Flash plug-in and ActiveX control but not to the Flash stand-alone player or Flash projectors.


I don't understand the reason for these security restrictions from Adobe. It severily limits the usability of the ActiveX.
Kind regards,

Francisco Sanchez

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

Postby Softanics » Fri Oct 31, 2008 4:04 pm

f-in-box based on Flash ActiveX, so these limitations are also applied to f-in-box...
Best regards, Artem A. Razin,

F-IN-BOX support

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


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: No registered users and 10 guests

cron