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

how can i hide the control buttons?... #43

Closed
Nymka-9229 opened this issue Jun 25, 2021 · 2 comments
Closed

how can i hide the control buttons?... #43

Nymka-9229 opened this issue Jun 25, 2021 · 2 comments
Labels
wontfix This will not be worked on

Comments

@Nymka-9229
Copy link

how can i hide the control buttons?... i want to disable and hide some of the control buttons in player. How can i do that?

@vintikzzz
Copy link
Member

It really depends if you follow "basic" or "advanced" usage.
In "advanced" to disable feature just put it in features object this way:

    features: {
        subtitles:    false,
    },

https://jsbin.com/vogike/edit?html,output - live example

In "basic" just put the same in data-features attribute :

<video controls src="magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel" data-features='{"subtitles": false}' />

https://jsbin.com/lekuzez/edit?html,output - live example

https://github.com/webtor-io/embed-sdk-js#player-features - list of all available features

@stale
Copy link

stale bot commented Aug 24, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 24, 2021
@stale stale bot closed this as completed Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants