You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library supports whatever the Youtube iframe API supports. The library did not drop support for end, it just does not work correctly with the API.
It does seem to work when using playerVars, which can be injected via youtubeConfig:
// Play video from 00:20 to 00:40<ReactPlayerplayingcontrolsurl='https://www.youtube.com/watch?v=Mh5LY4Mz15o'youtubeConfig={{playerVars: {start: 20,end: 40}}}/>
The YouTube Embedded Player supports a
end
parameter, which specifies the time when the player should stop playing the video.Now the library supports a
start
parameter and I wonder if it was intentional to drop the support forend
parameter.The text was updated successfully, but these errors were encountered: