react-youtube
react-youtube copied to clipboard
Console errors show failed requests to unexpected domains
Thank you for this package. I spent some time working with it, then encountered some odd error messages.
- demo with react-youtube: https://react-youtube.reveddit.com/#spread_word
- source code
In the console I see failed connections to googleads.g.doubleclick.net, static.doubleclick.net, and sometimes play.google.com, so I reverted the changes. They appear whenever seekTo is called, which I attached to onClick for the links.
I then found the Google issue YouTube embedded player causes CORS errors. I guess that explains it. But it's been open since last April.
Also, I'm able to use a normal embed without any issue. I wonder why those errors come up when using YouTube's API.
- Demo with standard embed: https://www.reveddit.com/#spread_word
- source code