We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Be sure to search for your issue before opening a new one.
Error
Unhandled Runtime Error TypeError: onUnstarted is not a function Call Stack eval node_modules/react-player/lib/players/YouTube.js (135:0) O.q.P https://s.ytimg.com/yts/jsbin/www-widgetapi-vfl7A8A6y/www-widgetapi.js (296:267) Z.q.I https://s.ytimg.com/yts/jsbin/www-widgetapi-vfl7A8A6y/www-widgetapi.js (569:67) Z.q.aa https://s.ytimg.com/yts/jsbin/www-widgetapi-vfl7A8A6y/www-widgetapi.js (593:291) Qe.i https://s.ytimg.com/yts/jsbin/www-widgetapi-vfl7A8A6y/www-widgetapi.js (368:272) Ce.g https://s.ytimg.com/yts/jsbin/www-widgetapi-vfl7A8A6y/www-widgetapi.js (352:28)
Should work as with direct import from react-player or react-player/lazy
react-player
react-player/lazy
import ReactPlayer from 'react-player/youtube'; export default ({ url }) => { return ( <div style={{ position: 'relative', paddingTop: '56.25%' }}> <ReactPlayer style={{ position: 'absolute', top: 0, left: 0, paddingRight: '2px' }} // to fight strange black border className="react-player" url={url} controls={true} width="100%" height="100%" /> </div> ); };
Love the player!
The text was updated successfully, but these errors were encountered:
89e8080
Fix single player import logic
f9320ef
Passing through the player directly meant `key` couldn’t be used for the clever config merging Fixes cookpete/react-player#993
c50364d
50128f4
No branches or pull requests
Be sure to search for your issue before opening a new one.
Current Behavior
Error
Expected Behavior
Should work as with direct import from
react-player
orreact-player/lazy
Steps to Reproduce
Environment
Other Information
Love the player!
The text was updated successfully, but these errors were encountered: