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

Sometimes when I try to play a video I get "This ad used too many resources for your device, so Chrome removed it."

Open adrenaline681 opened this issue 3 years ago • 1 comments

Current Behavior

On some ocassions when I try to play a video using React Player I get an error in the player saying:
Ad removed. Details

And when I click on Details it says: This ad used too many resources for your device, so Chrome removed it.

The videos that I try to play have no ads enabled in youtube, so I'm not sure why it showing this error.

image

Expected Behavior

Video to play without any error

Steps to Reproduce

 <ReactPlayer
      url={`https://www.youtube.com/watch?v=aipJGb76fZY`}
      playing={true}
      controls={true}
      width={'100%'} height={'100%'}
  />

Environment

  • URL attempting to play: https://www.youtube.com/watch?v=aipJGb76fZY
  • Browser: Chrome
  • Operating system: Windows 10

adrenaline681 avatar Feb 25 '22 08:02 adrenaline681

Have you managed this problem?

I got the same

Antongron avatar May 18 '22 12:05 Antongron

@adrenaline681 @Antongron are you using any overlay over the videos due to which users is not directly able to interact with the youtube video in iframe, for example you may have created your own controls that is appearing over the react player.

manishsharma004 avatar Feb 15 '23 16:02 manishsharma004