react-youtube
react-youtube copied to clipboard
react.js powered YouTube player component
I have tried changing the url in loadYouTubeIframeApi to youtube-nocookie, but it disables the entire player. Is there another way to enable privacy mode?
I have been doing something like this and nothing happens ``` function YouTubePlayer(props) { function endTheVideo(e) { console.log(e.target); } return ( { endTheVideo(e); }} /> ); } export default YouTubePlayer;...
I'm getting a problem when first rendering my component, I didn't get the error on my opts   .
Is there a way to add related videos that appear on pause? Thanks a lot in advance and immense gratitude for this package.
I used your sample and autoplay is not working. I'm using next.js. Here's a simple [codesandbox](https://codesandbox.io/s/brave-bush-5bj6xd?file=/pages/index.js) using your example. I have this error in my console: > The service worker...
I'm using your library to play YouTube videos. I'm using it inside a next.js app. Here's my code: ``` const PlayeYoutube = ({ videoCode }) => { const [_window, setWindow]...
I'm getting the following errors when attempting to build, using gatsby.js: ``` ERROR Failed to compile with 2 errors 10:21:39 AM These dependencies were not found: * fs in ./node_modules/youtube-player/node_modules/debug/src/node.js...
Recently, when updating from version 7.13.1 to version 7.14.0, a phenomenon in which the player is reset whenever the videoId is changed has been found and reported. It's usually fine...
I'm using react-youtube in a NextJS + TypeScript-project and I use it like this. ``` import YouTube from 'react-youtube'; const opts = { width: '100%', playerVars: { autoplay: 1, },...