Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to hide the FULLSCREEN button


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

86 Community Answers

JW Player

User  
0 rated :

set it to =false.

JW Player

User  
0 rated :

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.

JW Player

User  
-1 rated :

"allowFullscreen" is i parameter not a flashvar - it tells the flash plugin to allow fullscreen - use it like this:
bc.. so.addParam("allowfullscreen","true");

"usefullscreen" is a flashvar - use it like this:
bc.. so.addVariable("usefullscreen","false");

from the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]:
bc.. 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.

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

bc.. 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
bc.. *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.

JW Player

User  
0 rated :

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?

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

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 ?

JW Player

User  
0 rated :

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

Thanks.

JW Player

User  
0 rated :

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 ?

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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

Audio + fullscreen = ?

JW Player

User  
0 rated :

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?

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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);

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

still no resolution? this is silly!

JW Player

User  
0 rated :

@brian,

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

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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. :S

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

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

Thanks.

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

@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.

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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?

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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?

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

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();
};

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

@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

JW Player

User  
0 rated :

@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

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

*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

bc.. /** 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.

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

Ridiculous that this isn't a customizable via flashVars.

JW Player

User  
0 rated :

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

now problem is handcursor also not shown.

how to display cursor onmouseover the player ?

JW Player

User  
0 rated :

..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!

JW Player

User  
0 rated :

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

then you can have anything you want

JW Player

User  
0 rated :

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..?

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

hi

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

i mailed longtailvideo, but no reply either.

rob

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :


*DOH!*

JW Player

User  
0 rated :

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.swfbc.. *http://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

JW Player

User  
0 rated :

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

JW Player

User  
0 rated :

@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

JW Player

User  
0 rated :

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).

JW Player

User  
0 rated :

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?

JW Player

User  
0 rated :

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.

JW Player

User  
0 rated :

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...

JW Player

User  
0 rated :

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

dont work on 4.1.60

JW Player

User  
0 rated :

BumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBumpBump

JW Player

User  
0 rated :

demos\flvPlayer\com\jeroenwijering\plugins\Controlbar.as
Look for:
bc.. if(bar.stage['displayState']) {

And change it to:
bc.. if(1 == 2) {

This is rather permanent and undynamic ofcourse =D

JW Player

User  
0 rated :

Still can't hide the Fullscreen button, many months later? Makes you wonder if you can rely on them commercial use.

Ethan Feldman

JW Player Support Agent  
0 rated :

You can use the simple skin to hide the button.

JW Player

User  
0 rated :

Hi,

I am trying to hide fullscreen button from jwplay player in facebook application. I am using usefullscreen=false paramerty in my code but no effect.

Thanks

Ethan Feldman

JW Player Support Agent  
0 rated :

Hi Abdul,

You will need to use the Simple skin to accomplish this – http://www.longtailvideo.com/addons/skins/51/Simple?q=simple

Best,
-Ethan

JW Player

User  
0 rated :

Not to look a gift horse in the mouth but ... where is the fix?

I'd also like to lose the VOLUME control.

Ethan Feldman

JW Player Support Agent  
0 rated :

@Robin – With player 5.2’s skinning model, you can simply remove the volume control element, and it will be gone – http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/14/skinning-the-jw-player-5

JW Player

User  
0 rated :

I am not sure if this has been resolved already but I was able to remove the full screen button my editing the skin (xml) file. Just removed 2 lines for the fullscreenButton element in skin.xml file and the control no longer shows.

Ethan Feldman

JW Player Support Agent  
0 rated :

@kc – Can you provide a link to where you are running this?

JW Player

User  
0 rated :

Hi. With jw5.4 if one is using the player with the built in viral and the default skin how does one remove the volume control element in the control bar. I added reference to the default skin - five.zip. I then removed in the xml reference to the volume control element. Now when the control bar displays, the volume control is gone but so is the menu element for the viral function. How does one display the menu element but not the volume control element?

Here is a link to the video I was testing with

http://www.msspecial.com/jw54.htm

Ethan Feldman

JW Player Support Agent  
0 rated :

@Bohdan – If you use the player from – http://www.longtailvideo.com/players/jw-flv-player/ it should show the Viral menu and show the volume slider. No adjustments need to be made.

JW Player

User  
0 rated :

My mistake. In my post I should have be asking about removing the display of the Full Screen icon not the volume control icon in the control bar. I know how to disable the full screen icon in the non-viral version of the jw5.4 player, by eliminating two lines in the xml in the default five.zip skin. However I do not now how to remove in the viral version, reference to the Full Screen icon, while still displaying the menu icon for the viral function in the control bar. Does one have to add some lines to reference the viral menu icon in the xml file in the five.zip skin?

Here is a link to the video I was testing with

http://www.msspecial.com/jw54.htm

Ethan Feldman

JW Player Support Agent  
0 rated :

The Viral menu is part of the plugin itself, not the skin. You can set the viral.allowmenu flashvar to true or false to show/hide the menu. The menu part of the controlbar is not in a skin XML file.

JW Player

User  
0 rated :

Hi. I set "viral.allowmenu": true to display the menu icon in the control bar. However because there is no similar flashvar to control the display of the Full Screen icon in the control bar, I need to remove reference to the full screen icon in the xml file of the skin. I did this in the default skin five.zip.

The following code was used for the jw embedding

jwplayer("container").setup({
file: "/video/fcg_trailer_h264.mp4",
image: "/images/fcg_trailer.jpg",
height:352,
width: 640,
duration:145,

controlbar: "over",
"controlbar.idlehide": true,

"viral.functions": "embed",
"viral.oncomplete": false,
"viral.onpause": false,
"viral.allowmenu": true,

skin: "/video/five.zip",

screencolor:"E8E8E8",
backcolor:"E8E8E8",

players: [
{ type: "html5" },
{ type: "flash", src: "video/jwvplayer.swf" }
]
});


When I do this the Full Screen icon does not appear in the control bar, but the menu icon still does not display in the control bar.

My question is how in using the viral jw player, can I have in the control bar, the menu icon displaying, while the full screen icon does not appear.


Here is a link to the video I was testing with

http://www.msspecial.com/jw54.htm

Ethan Feldman

JW Player Support Agent  
0 rated :

Ok, it looks like the removing the fullscreen button also removed the viral menu. A way to get around this would be to use the dock instead. Set the flashvar viral.allowdock to true, to do this.

JW Player

User  
0 rated :

Thanks it worked

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

JW Player

User  
0 rated :

Fullscreen in HTML5 in Opera, IE9.

Not sure where to post this, but Bohdan's link:

http://www.msspecial.com/jw54.htm

does relate to my problem in trying to use full screen in Opera and IE9 in the JW54 player without viral.

Using the JW54 player without viral, clicking on the fullscreen button when using Opera or IE9, the error message 'undefined' appears. Then clicking on the play button often causes the control bar to flip out of position up and left as if there is a ghost player with the controls moved there (clicking in that area will pause and play).

Bohdan's link does not have this problem, but his player includes viral.

A public example of this problem is where the JW player is featured with 18 other players:

http://praegnanz.de/html5video/jwplayer.php

Any suggestions?


sukha

Ethan Feldman

JW Player Support Agent  
0 rated :

@Sukha – Please download the latest fixed version of 5.4 from here – http://www.longtailvideo.com/players/jw-flv-player/, you are using an outdated version that had a few bugs.

JW Player

User  
1 rated :

Thanks Ethan - That apparently fixed the "ghost" player from appearing, but clicking the fullscreen button still causes the undefined error message to appear in Opera and IE9 using Windows 7. The error also appears in IE9 using Vista. No player appears in my somewhat flaky computer in Opera using Vista. IE9 also has weird behavior with the poster and getting the player to start is tricky in both Vista and Windows 7.

http://www.dhammasukha.org/Study/Talks/stream/JW-test.htm

Must be doing something wrong.

Ethan Feldman

JW Player Support Agent  
0 rated :

It looks like this is an Opera bug…please note IE9 is still brand new so we don’t support it yet. We will investigate, thanks.

This question has received the maximum number of answers.