It seems that this is built in to the player, but the parameters aren't there to enable it. "allowfullscreen" needs to be set to true. i could really follow the documentation for the fsbuttonlink parameter - maybe there is a value of that that would enable the feature ... but it didn't seem like it.


twsanders’s picture

Category: feature » bug
Priority: Normal » Critical

I have the same problem and am wondering why this issue hasnt been fixed yet, the player and swf tools works great but its a pain if the full screen button doesnt work. So if someone knows how to fix this issue please help us.

mrhappymac’s picture

I think fixed this problem I had to hack 2 files. version 6 dev so I hope this will help The problem lies in the the flash var "usefullscreen" will not activate the fullscreen icon in the player. The var needed is "fullscreen".
I went about it like this. I edited wijering,module

function _wijering_settings($player) {
$opts = _wijering_options();
switch ($player) {
// Define the settings list.
$defaults['boolean'] = array(
'largecontrols' => 'default',
'shuffle' => 'default',
'linkfromdisplay' => 'default',
'usecaptions' => 'default',
'usefullscreen' => 'default',
'fullscreen' => 'default', <<<<< here is my entry
'usekeys' => 'default',

------------------ snip

I then page
I added a field in the Interaction section below the bogus fullscreen field

$form['wijering_mediaplayer']['interaction']['usefullscreen'] = array(
'#type' => 'select',
'#options' => $options['bool'],
'#default_value' => $saved['usefullscreen'],
'#title' => t('Use fullscreen'),
'#description' => t('Determine whether to allow fullscreen functionality. (<em>usefullscreen</em>)'),

$form['wijering_mediaplayer']['interaction']['fullscreen'] = array(
'#type' => 'select',
'#options' => $options['bool'],
'#default_value' => $saved['fullscreen'],
'#title' => t('Use fullscreen with icon'),
'#description' => t('Determine whether to allow fullscreen functionality. (<em>fullscreen</em>)'),

That's it hope that helps.

Stuart Greenfield’s picture

Once I get SWF Tools 6 up and running there are a bunch of changes to come back in to SWF Tools 5. I'll check out the above and add it when those updates get done. Thanks for the code hints!

Stuart Greenfield’s picture

I was testing SWF Tools locally and I already have Wijering running with a full screen option. usefullscreen is the correct parameter to pass to the player (as documented).

However, the original (v5) of SWF Tools didn't correctly enable full screen for the flash engine itself. This is fixed in the 6.x-dev version of SWF Tools by enabling it at a global (SWF Tools) level. I think your code above achieves the same thing but at a player level.

Anyhow, I am going to back port the global mod from version 6 to version 5.

Thanks for the code suggestion - it seems we solved the problem at the same time!

Stuart Greenfield’s picture

Status: Active » Needs review

A fix for this issue is built in to a new 5.x-1.x-dev release and is ready for testing. The new package will be available when the packaging scripts next run.

Stuart Greenfield’s picture

Status: Needs review » Fixed

Setting to fixed as new releases of SWF Tools 5.x-2.0 and SWF Tools 6.x-1.1 are now available which address this issue.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stevenaburton’s picture

Version: 5.x-1.1 » 6.x-2.5
Status: Closed (fixed) » Active

This problem seems to be back with version 6.x-2.5. I have the player running here and it works great except that the fullscreen option doesn't work. Fullscreen is enabled and there is even a toggle fullscreen option presented to the user when right-clicking on the running video but selecting the menu option or clicking the fullscreen button on the player interface has no effect.

Stuart Greenfield’s picture

Priority: Critical » Normal

The code on the page you link to isn't SWF Tools generated material (based on looking at the source code the embedding format and path to the player are not SWF Tools).

The reason full screen isn't working is that the "allowFullScreen" parameter isn't set on the flash embed. See

Under SWF Tools you enable this on the main SWF Tools setting page. Check the settings for the module you are using to see if there is an option to enable it there.

stevenaburton’s picture

Thanks Stuart but the weird thing is that the allowFullScree parameter is set to true on the SWF tools setting page. The code is autogenerated by the module, not manually embedded in PHP so there is no option to set the parameter manually.

Stuart Greenfield’s picture

The code is autogenerated by the module

Which module is generating the code? The code on your page isn't being generated by SWF Tools as it will wrap its output in a div classed as swftools-wrapper. That isn't there, so the code is coming from somewhere else. It's the "somewhere else" that needs to enabled the fullscreen option. If that module doesn't have an option to enable full screen then you need to tweak the code manually to include it.

Stuart Greenfield’s picture

Status: Active » Closed (fixed)

I did a quick check of the source code - it looks like you're using the Embedded Media Field module? This uses its own embedding code to place players on the page and does not use/rely on SWF Tools.

I'm going to set this thread here back to closed as this isn't an SWF Tools issue, but one to raise on the Embedded media field issue queue. Hopefully someone there can help!

dev.paulson’s picture

Status: Closed (fixed) » Active

I have tried in swf tools with flash vars fullscreen, usefullscreen, allowfullscreen but it doesnt affect anything on wijering player4.Full screen button is there in the player but no effect while toggling.I cant fix the issue.Please help