-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Start player from specific time #433
Comments
@Msbir what URL type are you trying to play? Each player API has a different config to start at a certain time. |
Thank for the response I am trying to play youtube type |
See #115, although the config example is outdated: <ReactPlayer
url='https://youtu.be/qv6UVOQ0F44'
config={{
youtube: {
playerVars: {
start: 33
}
}
}}
/> |
Thank you! |
No problem! |
how can i write the config for a normal file? |
I am wondering about this too. Tried a couple of ways, for example seeking when onReady, but the player just resets played to zero. |
for me as well, how I can set a starting time? seeking onStart and onReady will be start from 0 once is loaded Thanks |
I've found a solution that may help someone using media fragment Media Fragments <ReactPlayer I'm passing played as prop to the player component, that I retrieve from the db stored |
hey, |
Hey, Great work!
How can I make the player start from a specific time?
Thanks =)
The text was updated successfully, but these errors were encountered: