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

Create a custom controll bar?


Hi.

I'm new at JWplayer and would like to create my own player and need to know where to start. Is there a way to create a control bar using buttons like play/pause, mute, etc?

Thanks

5 Community Answers

George

JW Player Support Agent  
0 rated :

Hi,

You can use the javascript API to call most functions:
https://developer.jwplayer.com/jw-player/docs/javascript-api-reference/

The hardest thing will be to your player to go to fullscreen programmatically as the browsers sometimes block programatic fullscreen.

Here’s a test page where I use html sliders to control the player volume:
http://qa.jwplayer.com.s3.amazonaws.com/~george/volume_controls.html

Gregory Schultz

User  
0 rated :

Thanks for the answer.

This is for use as an audio player so I don't have to worry about fullscreen.

Correct me if I'm wrong but it looks like I have control set to false and then I create JS to control the player in order to get the player I want?

Thanks again.

George

JW Player Support Agent  
0 rated :

Pretty much, setting controls to false will ensure our controls don’t appear. You would then be free to customize as you please

Gregory Schultz

User  
0 rated :

I set control to false but it just hides the player, there's no way to remove the control bar and use my JS code to control the player?

George

JW Player Support Agent  
0 rated :

http://qa.jwplayer.com.s3.amazonaws.com/~george/show_hide_controlbar_js.html

This question has received the maximum number of answers.