Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comments
Comment #1
twsanders CreditAttribution: twsanders commentedI 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.
Comment #2
mrhappymac CreditAttribution: mrhappymac commentedI 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
I then wijering.admin.inc page
I added a field in the Interaction section below the bogus fullscreen field
That's it hope that helps.
Comment #3
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedOnce 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!
Comment #4
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedI 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!
Comment #5
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedA 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.
Comment #6
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedSetting 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.
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
stevenaburton CreditAttribution: stevenaburton commentedThis problem seems to be back with version 6.x-2.5. I have the player running here http://www.burtonsoftware.net/jhs/node/1357 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.
Comment #9
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedThe 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 http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html
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.
Comment #10
stevenaburton CreditAttribution: stevenaburton commentedThanks 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.
Comment #11
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedWhich 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.
Comment #12
Stuart Greenfield CreditAttribution: Stuart Greenfield commentedI 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!
Comment #13
dev.paulson CreditAttribution: dev.paulson commentedI 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