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

Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.

Open Garlikdev opened this issue 1 year ago • 2 comments

Current Behavior

Hundreds of errors about third party cookies in chrome console. "Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox." This is causing huge memory allocation and overflow after couple of minutes and chrome tab is crashing.

Expected Behavior

No errors, smooth experience.

Steps to Reproduce

  1. Use normal youtube url like "https://youtube.com/watch?v=" <ReactPlayer url="https://youtube.com/watch?v=" controls autoPlay={0} />
  2. Play the video
  3. Experience huge lag and website crash

Environment

  • URL attempting to play: Every single one
  • Browser: Chrome 127.0.6533.72
  • Operating system: Win 11
  • jsFiddle example: https://jsfiddle.net/10egum96/

Other Information

Even your js fiddle with youtube link plugged in is doing this image and its growing image Managed to reduce it to only a couple errors by using 'https://www.youtube-nocookie.com/watch?v=' but still don't know how to fix it permanently.

Update 30.07.2024

After further testing, there are less errors using nocookie url, but still somehow after some time sitting on a page with player, chrome tab goes "Out of memory"

Garlikdev avatar Jul 25 '24 23:07 Garlikdev