Page 1 of 1

Fullscreen video

Posted: Wed Oct 29, 2008 7:13 pm
by fmsanchez
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?

Posted: Wed Oct 29, 2008 7:26 pm
by Softanics
Thank you for your question.

Have you called AllowFullscreen = true ?

Thank you.

Posted: Wed Oct 29, 2008 8:44 pm
by fmsanchez
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?

Posted: Thu Oct 30, 2008 8:39 am
by Softanics
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.

Posted: Thu Oct 30, 2008 9:54 am
by fmsanchez
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.

Posted: Fri Oct 31, 2008 8:07 am
by Softanics
fmsanchez wrote:I know that standalone players are allowed to do that.


Could you please show me an example?

Thank you.

Posted: Fri Oct 31, 2008 10:45 am
by fmsanchez
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.

Posted: Fri Oct 31, 2008 4:04 pm
by Softanics
f-in-box based on Flash ActiveX, so these limitations are also applied to f-in-box...