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

Fix SameSite cookie warning in Chrome

Open lejonmanen opened this issue 5 years ago • 2 comments

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/ react-youtube-samesite-cookie

lejonmanen avatar Jun 16 '20 10:06 lejonmanen

it is same now on firefox

konradbjk avatar May 24 '22 19:05 konradbjk