Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a custom button and disable fullscreen #169

Open
BhaveshSGupta opened this issue Jul 31, 2020 · 1 comment
Open

Add a custom button and disable fullscreen #169

BhaveshSGupta opened this issue Jul 31, 2020 · 1 comment

Comments

@BhaveshSGupta
Copy link

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?

@vaultec81
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants