Open gajus opened 7 years ago
Whatever is causing this is not react-youtube-player
or youtube-player
package related (as far as I can tell). This behaviour can be replicated only when dev tools window is on. Therefore, it does not effect real-life users.
Would be good to understand how to disable this. I cannot find anything in YouTube Iframe API documentation.
I think you're right. In my react component I can swap between two views. One has a youtube iframe and the other is just text. If I switch back and forth between them, I get the popup.
Unmounting the video player after the video has started to buffer and before it has started to play prompts a dev tools popup.
The source of the devtools is for chrome-devtools://devtools/bundled/inspector.html?isSharedWorker=true&remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@691bdb490962d4e6ae72f5c6ab1fdd0faaf19cd0/&dockSide=undocked
It is not clear what is making this to happen.