react-player
react-player copied to clipboard
Third-party cookie will be blocked in future Chrome versions as part of Privacy Sandbox.
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
- Use normal youtube url like "https://youtube.com/watch?v="
<ReactPlayer url="https://youtube.com/watch?v=" controls autoPlay={0} /> - Play the video
- 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
and its growing
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"