micnews / react-jw-player

A React Component API for JW Player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a custom button and disable fullscreen

BhaveshSGupta opened this issue · comments

Hello,
I am trying to do changes in the working of ReactJWPlayer,
I want to disable fullscreen button, I think the best way to do it would be by skins,
and want to add a button which would make player semi fullscreen.

There could another option,
where I could replace the functionality of fullscreen btn to have my custom code.
I am not able to do that.

Do you know a workaround here?

Take a look at https://developer.jwplayer.com/jwplayer/docs/jw8-javascript-api-reference#section-jwplayer-add-button-img-tooltip-callback-id-btn-class for custom buttons, which you will have to use the jwplayer instance directly to implement this functionality