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

Playback speed for player #172

Open
MehdiAghighi opened this issue Oct 28, 2020 · 1 comment
Open

Playback speed for player #172

MehdiAghighi opened this issue Oct 28, 2020 · 1 comment

Comments

@MehdiAghighi
Copy link

MehdiAghighi commented Oct 28, 2020

Is There a way that the user can change the playback speed of the player ?
i saw in the docs that in pure javascript it is something like this

jwplayer('user-player').setup({
playlist: 'https://cdn.jwplayer.com/v2/media/gaCRFWjn',
  // Set the available playback rates of your choice
  playbackRateControls: [0.75, 1, 1.25, 1.5]
});

but i couldn't find how to do it in jwplayer-react

@mushroomgead
Copy link

You should be able to use customProps to set playbackRateControls. Like this:
<ReactJWPlayer customProps={{ playbackRateControls: [0.75, 1, 1.25, 1.5] }} />

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