
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
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
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
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.
Pretty much, setting controls to false will ensure our controls don’t appear. You would then be free to customize as you please
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?
http://qa.jwplayer.com.s3.amazonaws.com/~george/show_hide_controlbar_js.html