Home > database >  Youtube Live Stream Not Playing In a react-player version 2.9.0
Youtube Live Stream Not Playing In a react-player version 2.9.0

Time:01-16

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

CodePudding user response:

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.

  •  Tags:  
  • Related