cookpete / react-player

A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion
https://cookpete.github.io/react-player
MIT License
8.89k stars 1.12k forks source link

Problem when adding foreground #1740

Closed inirizky closed 3 weeks ago

inirizky commented 2 months ago

Current Behavior

So, i try to add foreground in react-player like background gradient from black to transparant or color with opacity. but something weird happened when i scroll the page react-player like flicker or blink. i don't know how to fix.

Expected Behavior

with adding some foreground gradient I expect to re-create disnyplsho**tar trailer components (2024)

Steps to Reproduce

  1. Seperate Components files
  2. Create another parent container

Environment

Other Information

I am using Vite ReactJS and TailwindCSS

Updated Information 19/02/2024

I found in my laptop it is working well, but in my desktop PC it's not. So the step I tried was turning off hardware acceleration on my desktop browser and i don't know why its work.