react-youtube icon indicating copy to clipboard operation
react-youtube copied to clipboard

react.js powered YouTube player component

Results 87 react-youtube issues
Sort by recently updated
recently updated
newest added

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;...

Question

I'm getting a problem when first rendering my component, I didn't get the error on my opts ![Screenshot_1](https://user-images.githubusercontent.com/64593022/161315688-7a56370d-0d1a-46fa-9672-0584073d19cc.png) ![Screenshot_2](https://user-images.githubusercontent.com/64593022/161315692-9fb43e4e-1282-424d-853c-8354d24bb6c5.png) .

Is there a way to add related videos that appear on pause? Thanks a lot in advance and immense gratitude for this package.

Question

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...

Help Wanted

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, },...