react-youtube
react-youtube copied to clipboard
Fix SameSite cookie warning in Chrome
The Chrome web browser recently changed its behaviour regarding cookies. This causes the console to display warnings when using react-youtube. It may possibly break parts of react-youtube in future versions of Chrome and other browsers.
To the best of my knowledge, this is either an issue with using an old YouTube API; or needing to update to cookie-setting functions.
Video explaining the basics here: https://www.youtube.com/watch?v=GPz7onXjP_4
More detailed developer guide here: https://web.dev/samesite-cookies-explained/

it is same now on firefox