-
-
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
[Youtube] Video start and end time #152
Comments
I've just pushed what I thought would fix this in <ReactPlayer
playing
controls
url='https://www.youtube.com/watch?v=Mh5LY4Mz15o?start=20s'
youtubeConfig={{ playerVars: { end: 40 }}}
/> I don't think |
Thanks. The end parameter works, but the URL needs to be like this:
or
|
Thanks for your work.
For Youtube player, looks like it is not taking the end time from either youtubeConfig.playerVars.end or from the URL (e.g. https://www.youtube.com/v/qv6UVOQ0F44?end=40).
Also I tried the example you gave at issue #115,
works but using youtubeConfig does not work.
But as the video end time won't work either way, a fix will be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: