cookpete / react-player

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
https://cookpete.github.io/react-player
MIT License
8.89k stars 1.12k forks source link

When using standalone player, how to access instance and static methods? #1749

Closed MarByteBeep closed 3 weeks ago

MarByteBeep commented 2 months ago

The provided renderReactPlayer function doesn't return anything, so how would I for instance be able to call the method getCurrentTime() on the currently rendered video?