0

I integrated react-player to react.js website and it worked fine. But in a few days, it stopped working. and I also updated the plugin version to version 2.9.0. But it didn't work. And I noticed normal videos from youtube are playing fine But youtube live streams are not playing. below is the code I implement.

<ReactPlayer
        url={"https://youtu.be/5qap5aO4i9A"}
        config={{
          youtube: {
            playerVars: { showinfo: 1 },
          },
        }}
      />

this is live stream URL

Osada
  • 70
  • 1
  • 8

1 Answers1

1

Try this sandbox (if doesn't work then try it on a private window) .It is playing live streams as well . This issue of yours is happening sometime . Please open it in another browser.

Hritik Sharma
  • 1,756
  • 7
  • 24
  • When I opened it in Microsoft edge it work fine and also I opened your sandbox in the chrome private window it also worked. Thank You – Osada Jan 16 '22 at 08:33