Block Flash > allowFullScreen
Permalink
Hi,
I'have embeded flash content with a flash block, works great. But in my swf i have a button with fscommand:
It seems that c5 flash implementation doesn't allow by default full screen feature, am i wrong ?
I just would like my swf having fullscreen feature, just like vimeo block, is it possible ?
Thanks !
I'have embeded flash content with a flash block, works great. But in my swf i have a button with fscommand:
fscommand("fullscreen", true);
It seems that c5 flash implementation doesn't allow by default full screen feature, am i wrong ?
I just would like my swf having fullscreen feature, just like vimeo block, is it possible ?
Thanks !
so, answering to myself, the solution is:
- in concrete/blocks/flash_content/view.php:
- And in flash, for exemple on a "fullscreen" button:
-And on a "normal screen" button:
The fscommand("fullscreen", true); mentioned above was for standalone flash app...
- in concrete/blocks/flash_content/view.php:
params = { bgcolor: "#000000", allowfullscreen: "true", quality: "<?php echo $controller->quality?>" };
- And in flash, for exemple on a "fullscreen" button:
on (release) { Stage["displayState"] = "fullScreen" }
-And on a "normal screen" button:
on (release) { Stage["displayState"] = "normal" }
The fscommand("fullscreen", true); mentioned above was for standalone flash app...
But i just don't know where to put the code.
I've tried something lke this:
...without success...
Thanks for helping !