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

Can't hide the control bar


Can't hide the JWPlayer6 controls. I'm using an audio-only application and have my own controls. I'm using JavaScript to command the player but the control bar shows up no matter what I put in settings: control: 'false' controls: none' controlbar: 'false' etc. The dad blasted bar just pops up over my beautiful page...

bc.. <script type="text/javascript">
jwplayer('mediaplayer').setup({
'width': '300',
'height': '34',
'image': "radio_info/SFD_NT_00.jpg",
'file': 'http://www.live365.com/play/sanfordschool;stream.nsv',
'type': 'mp3',
'primary': 'html5',
'autostart': 'false',
'controls': 'false'
});

</script>



Thanks

Hillcreative

15 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

If you set controls to false, this should work. Do you have a link?

JW Player

User  
0 rated :

sure try: www.grandtouringradio.com/btn_kill.html

This is a test page with a button toggle.

thanks

Ethan Feldman

JW Player Support Agent  
0 rated :

Ah, the controls won’t hide for an audio only player like that.

JW Player

User  
0 rated :

So... it begs the question.. what kind of audio only player can be hidden?

Ethan Feldman

JW Player Support Agent  
1 rated :

It looks like this will work if you set width and height to 1.

JW Player

User  
0 rated :

Nope... end up with player garbage around the player button

Ethan Feldman

JW Player Support Agent  
0 rated :

I just tested this locally and it worked fine…

JW Player

User  
0 rated :

Safari - Busted
IE9 - OK
IE8 - OK
Chrome - Busted

Ethan Feldman

JW Player Support Agent  
0 rated :

What do you mean by that? I just checked all of these browsers and I don’t see issues with anything being “busted”?

JW Player

User  
0 rated :

Busted= won't work because there are 'pieces' of the player around the button

Ethan Feldman

JW Player Support Agent  
0 rated :

I don’t see that though. I just see the button.

JW Player

User  
0 rated :

Safari is the worst.. do a select all or drag on the page and it will be easier to see

Ethan Feldman

JW Player Support Agent  
0 rated :

Ok, it has to do with html5 mode. Set primary to Flash to fix that.

JW Player

User  
0 rated :

So HTML5 mode has a bug...

Ethan Feldman

JW Player Support Agent  
0 rated :

Yes, but it looks like we have a minimum player size for V6, so this use case won’t really fly in JW6 then.

This question has received the maximum number of answers.