Go
Not registered? Sign up!

How to hide the FULLSCREEN button

Google Translate
67 posts | return to the Setup Problems forum | get the rss feed for this thread

Dec. 19, 2007Xzone9

How can the FULLSCREEN button be turned off in the flashvar? Thank you.

Dec. 19, 2007Josh Chesarek

set it to =false.

Dec. 19, 2007Xzone9

ah .. I was trying that from the examples and instructions but apparently the variable is "usefullscreen" instead of the reference "allowFullscreen".
The "usefullscreen" is effective and working whan applying "true" or "false".
Thank you for your help.

Dec. 20, 2007andersen

"allowFullscreen" is i parameter not a flashvar - it tells the flash plugin to allow fullscreen - use it like this:
so.addParam("allowfullscreen","true");
"usefullscreen" is a flashvar - use it like this:
so.addVariable("usefullscreen","false");
from the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]:
True fullscreen only works if you have the Flash Player 9,0,28,0 or higher installed. If you use the SWFObject javascript to embed your player, you can use it's auto-update functionality. Also make sure you have the parameter "allowfullscreen" set to "true" in your embed code!

usefullscreen (true,false): Set this flashvar to false if you don't want to use the flash9 fullscreen functionality. If you added a "fsbuttonlink" flashvar as well, this link will become the default action for the fullscreen page.

fsbuttonlink (url): The players automatically shows a fullscreen button if a user has installed a capable flashplayer (from 9.0.28). With this flashvar, you can link to an alternative page to display a sort-of fullscreen version of the player. Use serverside variables or the getQueryParamValue() function of SWF Object to send the "file" and any other flashvars to that fullscreen-substitute page.

Dec. 20, 2007Xzone9

The directions aren't as clear as they could be. Adding the parameter and setting to false doesn't hide the button.
Adding the variable and setting to false does. I would wonder why someone would add the button in the variable but set the parameter to false anyway because the result would be the fullscreen button is displayed in the controlbar but fullscreen isn't available when selected.
Either way it is clear that to hide the FULLSCREEN button, that variable "usefullscreen" set to "false" needs to be added either in the HTML embed or in the config.xml

Thanks for your help. I will suggest to Jeroene about modifying the readme to make it more obvious.

Dec. 20, 2007andersen

I would wonder why someone would add the button in the variable but set the parameter to false anyway...
the idea is that you can have your own functionality - like a fullwindow - try select a file [url=http://www.jeroenwijering.com/extras/streaming.html]here[/url] and click the fullscreenbutton
fsbuttonlink (url): The players automatically shows a fullscreen button if a user has installed a capable flashplayer (from 9.0.28). With this flashvar, you can link to an alternative page to display a sort-of fullscreen version of the player. Use serverside variables or the getQueryParamValue() function of SWF Object to send the "file" and any other flashvars to that fullscreen-substitute page.

Sep. 05, 2008Klaus

It does not seem to be possible anymore to remove the button in v4.1 of the JW player?
I've set everything I could to false and although nothing happens when pressing the "fullscreen" button it won't disappear from the control bar. Any way to fix that?

Sep. 09, 2008Richard

Hi, As Klaus says this no longer seems to work in JW 4.1. I'd like to remove the fullscreen button completely but setting the recommended values above does not seem to remove it.

Sep. 10, 2008Ady

This rule is stupid. I use flv player only for audio playback (my files are flv audio only) So, now i cant remove fullscreen button. I dont need fullscreen becose i dont even publish videos ???!!!
andersen ?

Sep. 10, 2008Ady

so.addVariable("usefullscreen","false")
or
so.addParam("allowfullscreen","false");

dont work on 4.1.60

Sep. 16, 2008oteo

Has there been any resolution to this? I need to remove that dreaded fullscreen button from the control bar.

Thanks.

Sep. 18, 2008Tony

I use the Flex version of the player (version 4.1.60) and I have the same problem: I can't hide the full screen button
I tried this in my actionscript code:
player.view.config.allowfullscreen = false;
player.view.config.usefullscreen = false;

and I tried this in my config.xml
<usefullscreen>false</usefullscreen>
<allowfullscreen>false</allowfullscreen>

nothing works.

I hope there is a smart guy who can help us ?

Sep. 19, 2008uno

i'd be also very interested in getting rid of this button.
fullscreen audio doesn't make sense wink

Sep. 23, 2008Andy

I must add my name to the list of people who cannot prevent the fullscreen icon showing in version 4.1...

Audio + fullscreen = ?

Sep. 23, 2008Andy

Maybe we need to downgrade whilst waiting for a fix. Does anyone know which version this *does* work in? And where I can get that version?

Sep. 23, 2008Tony

I am working with revision 48 of the flex code, and this works fine (no full screen button). Everybody who is interested in a working example of it can check out my facebook application: http://apps.new.facebook.com/personaltv/
The version of the player which I use is 4.0.48. I think this is the last version before the full screen button is incorporated.
But I still like to know a solution to hide the player in the latest version of the player.

Sep. 23, 2008Felix

I have the same problem and don't really want to downgrade. Could Jeroen Wijering please help? Thanks in advance!

Sep. 24, 2008Alfredo

It should be fairly easy to add this functionality back in the player. I've added the following lines in the initialization of the plugin we are developing, and the fullscreen button/feature disappears. The only drawback is that sometimes you see a small flicker of the button. I'm thinking of modifying the actual player to allow this, but the whole idea of the plugin architecture is just not having to do that.

Just in case somebody is interested, these are the lines I've added in the initializePlugin method:

//- This hides the button
view.skin.controlbar.fullscreenButton.visible=false;

//- This removes the context menu options for either changing video quality and fullscreen.
var obj:Object = view.skin.contextMenu.customItems.pop();
view.skin.contextMenu.customItems.pop();
view.skin.contextMenu.customItems.pop();
view.skin.contextMenu.customItems.push(obj);

Oct. 05, 2008David Collantes

Has this bug being addressed now, and if so, which revision has the fix? Thanks!

Oct. 07, 2008Ed

I just downloaded this flash player and it's my first time using it, I would like to get rid of the Fullscreen button as well.

Oct. 11, 2008brian

still no resolution? this is silly!

Oct. 13, 2008David Collantes

@brian,

It seems not a priority one at the moment for Jeroen. Perhaps he is working on other more important things/bugs. Patience... wink

Oct. 15, 2008Robjeknor

Pleaz....
Somebody??
You can set the var of allofullscreenoff, what blocks the action but the button is still their..

Oct. 23, 2008Nick R.

Yeah I really want to use the skinning ability of v4 but as someone else said, fullscreen mode doesn't make sense for an audio player. :P I'd add the functionality myself but I'm tired of 'hacking core' and having to re-apply my hacks for every new version.
Patiently waiting...

ps: I miss 'showstop' too. sad

Oct. 28, 2008brian

4.2 just came out not too long ago, but this bug is still there. Boo. Is there an official bug reporting tool?

Oct. 29, 2008computerkidt

i am not using the player for video only mp3s so i need to get rid of the fullscreen button why didn't this feature get added to this version if i can't get this fixed ill have to stick with my old version.

Nov. 07, 2008rotmos

Bump for great justice. Will we get rid of the fullscreen button anytime soon?

Thanks.

Nov. 07, 2008andersen

@rotmos & computerkidt - http://www.longtailvideo.com/AddOns/productpage.html?addon=51

Nov. 08, 2008JoeJoe

@andersen - i want to use another skin without the fullscreen button that skin basically does no help to people in my position. Also i do miss the showstop and a bunch of other options that seemed to disappear in 4.0 versions. Please fix this soon. Many of us want this and it seems we should at least get a message from Jeroen talking about the matter.

Nov. 08, 2008andersen

@JoeJoe
in the mean time here is a link to the skinning tutorial - http://www.jeroenwijering.com/?item=Skinning_the_JW_Player

Nov. 17, 2008David Collantes

Quoting rotmos:

"Bump for great justice. Will we get rid of the fullscreen button anytime soon? "

I see Jeroen hasn't written on this one, perhaps he could, to end an otherwise long, kind of worthless (since it is getting no where) thread?

Nov. 27, 2008Bumpmaster

BumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBump

Dec. 23, 2008ShaddyShow

I still want to "HIDE" the fullscreen button in version 4.2 of the player!!!

Jan. 01, 2009Jonathan

Was this implemented in 4.2? I can't seem to hide the full-screen button myself.

Jan. 18, 2009Nate

I've been able to fix this in the latest build r137 (which would equal (version:'4.4.135'); had to add a logic check in the Controlbar.as plug-in file:
----------------------------------------------
line 284 addition: && bar.root.loaderInfo.parameters['fullscreen'] == "true"
----------------------------------------------
making line 284 look like:
if(bar.stage['displayState'] && bar.root.loaderInfo.parameters['fullscreen'] == "true") {
----------------------------------------------
It fixes the problem; so hopefully the core developers will implement this fix in the next release?

Jan. 18, 2009Nate

In case this isn't fixed I just wrote a HideFullScreenButton plug-in.

I plan to submit in the next day or so. It uses the combination of logic I just posted and along with those suggested by @Alfredo on 28 September 2008.

Jan. 19, 2009speedy

hey Nate, fantastic news. So does it have to look like this finally?

try {
bar.fullscreenButton.visible = false;
bar.normalscreenButton.visible = false;
if(bar.stage['displayState']) {
if(view.config['fullscreen']) {
bar.fullscreenButton.visible = false;
bar.normalscreenButton.visible = true;
} else {
bar.fullscreenButton.visible = true;
if(bar.stage['displayState'] && bar.root.loaderInfo.parameters['fullscreen'] == "true")
bar.normalscreenButton.visible = false;

}
}
} catch (err:Error) {}
stacker.rearrange(wid);
stateHandler();
fixTime();
Mouse.show();
};

Jan. 19, 2009speedy

I took some lines above and below line 284 in order to see the entire context. Is this the way to solve it?

greetz
Speedy

Jan. 20, 2009speedy

But one more question... isn't it possible to simply delete the button in the fla file?

Jan. 29, 2009Kevin

Still, this doesn't work for me..
s1.addVariable("usefullscreen","false");

Jan. 29, 2009Jimb

@Kevin

You need to make the entry for a parameter, not a flashvar and the nane should be allowfullscreen

@Speedy

Very possibe. Which Sskin?

Regards - Jimb

Feb. 03, 2009speedy

@Jimb

thanks Jimb... problem solved... I took the modieus_slim skin and there isn't any fullscreen button anymore. Now it looks perfect.

all the best
Speedy

Feb. 12, 2009Dave

bump. neither changing skin, nor manual patches are a proper solution.

Feb. 19, 2009myname

it's amazing this issue hasn't been fixed :/

Feb. 19, 2009SteveR

I'm watching this page feed for news. Changing the skin isn't an option for me because I want the back and forward buttons rather than a very minimal control. I've made do with having the fullscreen button pull up the visualisation plugin, however that requires at least 1 pixel height on the video display area otherwise it doesn't work, so there's a little slither of this which is less than perfect too. At least the full screen button does something, which is more important.

Feb. 19, 2009kenmcd

Adding back ability to select:
- ShowFullscreen button - Yes/No
- ShowDigits button - Yes/No
- ShowDownload button - Yes/No
- UseFullscreen button - Yes/No


The removal of these features has broken AllVideos Reloaded for Joomla.
It may be easier modify the player than delete features users want and need from AVR.
AVR was designed to make this inserting Flash video easy for everyone.
And not require users to be programmers.
Requiring users to learn Flash to remove a simple button is ridiculous.


Looks like adding IF statements in Controlbar.as should do it:
Around line 275 in the SVN as today (2009-02-19)
JW_Player_SVN\trunk\as3\com\jeroenwijering\plugins\Controlbar.as


/** Process resizing requests **/
private function resizeHandler(evt:ControllerEvent=null):void {
var wid:Number = config['width'];
clip.x = config['x'];
clip.y = config['y'];
clip.visible = config['visible'];
if(config['position'] == 'over' || view.config['fullscreen'] == true) {
clip.x = config['x'] + config['margin'];
clip.y = config['y'] + config['height'] - config['margin'] - config['size'];
wid = config['width'] - 2*config['margin'];
clip.back.alpha = 0.75;
} else if(config['position'] != 'none') {
clip.back.alpha = 1;
}
try {
clip.fullscreenButton.visible = false;
clip.normalscreenButton.visible = false;
if(clip.stage['displayState']) {
if(view.config['fullscreen']) {
clip.fullscreenButton.visible = false;
clip.normalscreenButton.visible = true;
} else {
clip.fullscreenButton.visible = true;
clip.normalscreenButton.visible = false;
}
}
} catch (err:Error) {}
stacker.rearrange(wid);
stateHandler();
fixTime();
Mouse.show();
};



Any suggestions on a better way of doing this are welcome.

After I get this working I will make available for download a version of the SVN 4.4.xxx player with these features re-enabled.


Maybe we should call it the
JW FLV Player - AVR Version - the User-Friendly Backwards-Compatible Will-not-break-every-users-existing-website-embedded-Flash-videos Version.

Mar. 06, 2009Dave

I've spoken to Ethan Feldman on the development team who indicated there was probably no intention of addressing this in 4x. Whether that means 5x might support this, is unclear.

Mar. 13, 2009B. Katz

The lack of a fix for this is ridiculous. It shows a grave disinterest on the part of the developers. As the JW Player is now touted as the part of a greater array of services (LongTail, Bits on the Run, etc...), this also reflects badly on those services.

I'm going to be very weary about ever using any of those services.

I look forward to seeing what the community comes up with since the developers seem to have lost sight of what makes a great product -- support behind it.

Mar. 23, 2009Dave

Why not contact them like I did? The developers seem to be conveniently ignoring this thread, so I suggest you use the 'Contact us' system to contact them directly and add your voice.

It probably seems like it isn't that important a feature if most people just complain on the forum then give up - but if you complain in person you at least get a response.

The guy I spoke to doesn't actually do any of the development on the player, as far as I can tell, so try and get hold of jeroen specifically.

Apr. 17, 2009Volker

I can't believe there is even a discussion out this. I can understand that having one parameter and one flashvar seems a little excessive and allows a strange configuration where you can intentionally show a button that doesn't work which seems an unneccessary feature. I could live with the fact that having those 2 isn't supported.

However it seems such an obvious default behavior to hide something that has no function that I was stunned when I found out this isn't the case.

In other words: please add that back in. Yeah, I can write my own skin, but I don't do flash. I just need a player and focus on my actual business logic.

Apr. 28, 2009Arend Nijdam

demos\flvPlayer\com\jeroenwijering\plugins\Controlbar.as
Look for:
if(bar.stage['displayState']) {
And change it to:
if(1 == 2) {
This is rather permanent and undynamic ofcourse =D

May. 10, 2009onassar

Ridiculous that this isn't a customizable via flashVars.

May. 14, 2009Vasim Padhiyar

Hi
i have hide the PLAY icon
by &displayclick=none

now problem is handcursor also not shown.

how to display cursor onmouseover the player ?

Jul. 30, 2009Amazing....

..the player only has about 6 controls the user sees.

The fullscreen is one of them. Please can we have a flag that works to show/hide? It's not very complicated!

Jul. 30, 2009annie

source is at this link - http://developer.longtailvideo.com/trac/browser

then you can have anything you want

Sep. 04, 2009Sri Kumar

I tried to hide the full screen button...I have the version player 4.4 and i tried with the following code

SWF.addParam("allowfullscreen","false");

SWF.addParam("usefullscreen","false");

SWF.addVariable('allowfullscreen','false');

SWF.addVariable('usefullscreen','false');

None of them resolved my issue.

Any Idea to resolve this..?

Sep. 18, 2009Robin Cameron

to the player developers, this should be really easy. so why all the delays?

so many people have asked, and there may be 000s who want to hide the control but just don't submit posts or complain.

and can the code work in EMBED mode too.

come on guys. we've all supported you from the early days, so please get this illogical and pointless issue fixed.

Oct. 01, 2009Robin Cameron

hi

two weeks on, no one has commented, or suggested a solution.

i mailed longtailvideo, but no reply either.

rob

Oct. 01, 2009RG

same problem here, code for hiding to freaking fullscreen button, damnit we will win this !!

Oct. 01, 2009justAlittleSlow?

DOH!

Oct. 01, 2009Jimb

In my case I just opened source code for the skin I use on my web site, removed the fullscreen button, and recompiled the skin. I renamed the modified skin mysnel.swfhttp://www.playourvideo.net/tjv.htm?id=8.flv
Here's an example page of my player using the modified mysnel.swf skin. Feel free to grab it and use it if you'd like.

Regards - Jimb

Oct. 02, 2009Robin Cameron

hi

good idea JIMB, but was just hoping the player bug could be fixed withough having to learn how to edit the source.

i'm a bit annoyed with longtail as i, and many many others, supported and helped them at the beginning, paid for licences, then nothing happens.

i've not had a reply to the 6-7 emails i've sent regarding things that are either not in the forum or were never answered.

i hope they're not all down at the cake shop now the money's coming in ...

rob

Oct. 04, 2009RG

@Robin Cameron.. lol good one,

take a look at the top of the forum

WE'RE HiRiNG !

they need someone if they all at the cake shop spending our big bucks... hehe

Nov. 08, 2009Taddeus

There's a way to hide the fullscreen button in the default skin: make the player object less then 60 pixels high, this way the button hides automatically.

This works fine if you only use the player for playing audio, since you only need to display the control bar (which is only 20 pixels high).

Nov. 09, 2009Brian

I was wondering about this about a year ago. I come back a year later and this issue still exists.

Why is this so hard for the developers to understand?

Dec. 07, 2009Bob

Just wanted to scale a player to 250/141 and the fullscreen button takes away space, I need for the controlbar to display properly.
Please dev team, add a flashvar to hide the fullscreen button.

Dec. 08, 2009erik

Well... might be the wrong time to ask that. But: can you hide the menu button also? Don't want anybody to be able to embed my video, see the sourcecode etc. Any ideas?
And: that thing with the fullscreen button STILL is a problem! Thanks...

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.