How to add button to JW Player control panel using Javascript API?

There is a method in the official documentation -

addButton(icon, label, handler, id)

      

But this adds a button in the Video area.

I want to add a button on the control bar besides the Play Pause button. Is there an option in JW Player.

Fiddle

PS - I don't want to embed the html myself into the player. I want to use a built-in function.

+3


source to share


2 answers


There is currently no way to do this. addButton adds a button above the video. You can run this query:

Add Control Panel Buttons # 126



https://github.com/jwplayer/jwplayer/pull/126

+2


source


Download the source code from github and add as many buttons you want, the only way



0


source







All Articles