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

Show/hide controlbar


Hi everyone
I would like to ...Hi everyone
I would like to know if anyone managed to set and use the hideBar() function from the controlbarView.as?I'm not very familiar with actionscript and I wish I could hide the control bar after a while and make it come back on a mouse move.....thanks for the help...
S.

33 Community Answers

JW Player

User  
0 rated :

I want to do to this: [url=http://www.pudahuel.cl/]http://www.pudahuel.cl/click here[/url]

JeroenW

JW Player Support Agent  
0 rated :

If you set the “displayheight” flashvar to the same height at the movie, the controlbar will automatically hide. [url=http://memories.kro.nl/]Here’s an example[/url]

JW Player

User  
0 rated :

Thank you very much!Actually I also want to hide the control bar in full screen mode...If you can help for this too..... :d
By the way,the work you did is absolutely great!
S.

JeroenW

JW Player Support Agent  
0 rated :

That you can do with the flashvar “showicons=false”. It’ll discard the controlbar, but also the loading/play icons. So there’s a tradeoff…

JW Player

User  
0 rated :

My problem was how to hide the controlbar always, but still have the big play icon. Well, apparently I found the answer to my own question.

The only thing needed: escape everything in the onMouseMove() function in controlbarView.as (leave showicons=true in the configs or you will loose the big play icon as well).

It would be great if you could set this with flashvars.

bc.. /** Mouse move shows controlbar **/
public function onMouseMove() {
/* <--- START ESCAPE
if(Stage["displayState"] != 'fullScreen' &&
config["clip"]._xmouse < config["displaywidth"] &&
config["showicons"] == "true") {
Animations.fadeIn(config['clip'].controlbar);
clearInterval(hideInt);
if(!config["clip"].controlbar.hitTest(_xmouse,_ymouse)) {
hideInt = setInterval(this,"hideBar",2000);
}
}
*/ <--- END ESCAPE
}

JW Player

User  
0 rated :

Besides... leave the comment after the bc.. */
out, or the script won't work properly!
I mean the bc.. <--- END ESCAPE
part.

JW Player

User  
0 rated :

@JeroenW

i used the "showicons=false", but the controlbar is still appear when i click fullscreen.

JW Player

User  
0 rated :

@Dian - please see this demo: [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/fullscreenfire.htm]fullscreenfire[/url] from the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/]demopage[/url]

JW Player

User  
0 rated :

@Dian - Try to replace at ControlbarView.as - line 196:

bc.. tgt._y = Stage.height - 40;


Replace with:

bc.. tgt._y = Stage.height;


The controlbar will hide permanently when you click fullscreen.

---
[url=http://www.karmagraphic.biz]KarmaGraphic[/url]

JW Player

User  
0 rated :

Hi everyone!
andersen or anyone could you tell me how can I do the "hide controlbar trick" like blip.tv does? When I switch to fullscreen, the controlbar appears on the screen while I'm moving the mouse. Some seconds after I stop, it hides. So the same function as we saw in normal screen version, but I'd like to have this little feature only in fullscreen.

Thanks in advance!!!

JW Player

User  
0 rated :

From: *kmezei (31.10.2007)*
bc.. I'd like to have this little feature only in fullscreen.

...like [url=http://robnelsonfilms.blip.tv/]Blip.tv[/url]

Thanks again! :)

JW Player

User  
0 rated :

Anyone?

JW Player

User  
0 rated :

Come on guys! Still nothing??? Please :s

JW Player

User  
0 rated :

@kmezei
that would then take changes of the player itself (which i personally cant help with im afraid)

JW Player

User  
0 rated :

hello evryone
i'm not an expert in AS so i'dont know where can i change the displayheight" flashvar to the same height at the movie to autohide my controllbar like Jereon say Previously

31.08.2007JeroenW

If you set the "displayheight" flashvar to the same height at the movie, the controlbar will automatically hide. Here's an example

someone can help me please ??????

JW Player

User  
0 rated :

ok i've found "j" your a genius ^_^

hello from france

JW Player

User  
0 rated :

Can you hide the controlbar but only show the volume?

JW Player

User  
0 rated :

@Kevin,

If you make your own skin: *http://www.jeroenwijering.com/?item=Skinning_the_JW_Player*

JW Player

User  
0 rated :

Can I totally change the look of the controller? How would I do that?
Thanks

JW Player

User  
0 rated :

Hi
I want to do show hide controlbar when mouse is not over on video just like fullscreen. This is only working when I am doing the controlbar=over, If I am using my own custom skin, it is working first time very fine when I am running my page but next time when I again doing over the mouse, controlbar background showing transparent.I want to remove this transparency.

Please send me any example or suggess me the code.

Thanks & regards

JW Player

User  
0 rated :

@Sunil,

_Please don't cross-post. Once is enough._

JW Player

User  
0 rated :

Is there any way to make the caption alway visible?
At the moment it's only shown when I move the mouse but I need it to be visible all the time!
Image Rotatory btw...

JeroenW

JW Player Support Agent  
0 rated :

For the imagerotator, the controlbar cannot be fixed yet…

JW Player

User  
0 rated :

@JeronW: OK - Maybe you could integrate this function in the next release!? :)

JW Player

User  
0 rated :

where do i get the blip.tv skin? they have embed and link and email all on the control bar and seeing it is a jw player why isnt it available here on this site? it seems no one ever asks that question. all of the issues above would be solved by the simple line, "download the blip.tv skin here ..........." why dont we ever read that?

JW Player

User  
0 rated :

From: [url=http://www.jeroenwijering.com/extras/readme.html#appearance]*JW PLAYERS 3.12 README - APPEARANCE FLASHVARS*[/url]

bc.. *showicons** (true,false): Show or hide the play and activity icons in the middle of the display. Defaults to true for the players and false for the rotator. If set to false, the overlaid controlbar will also hide with the players.

JW Player

User  
0 rated :

@Shelley,

*http://www.jeroenwijering.com/?item=Skinning_the_JW_Player*

JW Player

User  
0 rated :

i want to show controlbar in two rows is it possible?
and i dont want to hide controlbar ever how this will be done?
Thankl

Ethan Feldman

JW Player Support Agent  
0 rated :

@Amir Shaheen – Can you provide a little more information? How exactly would this look?

JW Player

User  
0 rated :

I have this page here and want to be bale to hid the control www.theinnovativeinvestors.com. How can I do that? I also want the video to autoplay. Thanks so much

Ethan Feldman

JW Player Support Agent  
0 rated :

Set the controlbar flashvar to none, and set the autostart flashvar to true.

JW Player

User  
0 rated :

hello i'm a newbie to jwplayer, an am also trying to hide the controlbar, but how or where do i do this?

"controlbar.idlehide ( false )
If controlbar.position is set to over, this option determines whether the controlbar stays hidden when the player is paused or stopped."

from : http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12536/configuration-options#layout

i have tried this with no luck:

<object style="padding-left:24px" id="player3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="710" height="330">
<param name="movie" value="media/player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=video.mp4&image=images/preview.jpg&controlbar.idlehide=true" />
<embed
type="application/x-shockwave-flash"
id="player4"
name="player"
src="media/player.swf"
width="710"
height="330"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=video.mp4&image=images/preview.jpg&controlbar.idlehide=true"
/>

Ethan Feldman

JW Player Support Agent  
0 rated :

After &controlbar.idlehide=true add &controlbar=over

This question has received the maximum number of answers.