react-youtube
react-youtube copied to clipboard
react.js powered YouTube player component
Sometimes we need to keep track of if the user skipped the video. Having a callback function onskip like onplay would help
How do you change the z-index in react youtube? I look around on stack overflow and couldn't find anything
Hi, Thank you for the great library. I am trying to pass `origin` in the `playerVars` but it is not showing up in the iframe. ``` const opts = {...
Hey everyone, I really like your implementation of a small lightweight wrapper around the YT.Player API, but somehow an Error is going through the handling System and I don't know...
This component forces pre-knowledge of the exact video size or it cannot work. I have a 500px width available for it, but specifying 500px width alone gives you a very...
`TypeError: Cannot read property 'playVideo' of null at /Users/samuelkeays/content-lab-renderer/node_modules/youtube-player/dist/index.js:77:127 at new Promise () at Object..exports.default (/Users/samuelkeays/content-lab-renderer/node_modules/youtube-player/dist/index.js:64:24) at YouTube._this.createPlayer (/Users/samuelkeays/content-lab-renderer/node_modules/react-youtube/dist/YouTube.js:147:58) at YouTube.componentDidMount (/Users/samuelkeays/content-lab-renderer/node_modules/react-youtube/dist/YouTube.js:216:12) at commitLifeCycles (/Users/samuelkeays/content-lab-renderer/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6444:22) at commitAllLifeCycles (/Users/samuelkeays/content-lab-renderer/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:7540:7) at HTMLUnknownElement.callCallback...
I know `playsinline` is set to 0 so it fullscreens on mobile. But I'd like to have it fullscreen on web, as well. Any friendly advice on how to do...
Hi, thanks for this great package! Because of https://github.com/davidtheclark/focus-trap/issues/57, in my usage of `react-youtube` I need to set the iframe's `tabIndex = 0`: ```jsx { // See https://github.com/davidtheclark/tabbable/issues/23 // We...
(There was a similar issue #97 opened by @rmammina in 2017. Unfortunately it was closed shortly after without any answers.) _Note: I am quite new to coding in general, so...
Follow up would be to make the example prettier and show code examples/installation instructions (anyone with design skills who wants to help out?) This was created based on [this comment](https://github.com/tjallingt/react-youtube/pull/222#pullrequestreview-387700966).