1

the attach video link with react player is working smoothly on browser. But when i try to test with mobile versions on chrome it does not load video.

   const streamUrl='https://d3nzuksi34yzii.cloudfront.net/4611/240/240p.m3u8';


<ReactPlayer
                ref={playerRef}
                width="100%"
                height="100%"
                url={streamUrl}
                pip={pip}
                playing={playing}
                controls={false}
                light={light}
                loop={loop}
                playbackRate={playbackRate}
                volume={volume}
                muted={muted}
                onProgress={handleProgress}
                config={{
                  file: {
                    attributes: {
                      crossorigin: 'anonymous',
                      controlsList: 'nodownload' 
                    },
                  },
                }}
              />
Nafaz M N M
  • 1,558
  • 2
  • 27
  • 41

1 Answers1

0

Try to switch off the data-saver in Chrome if you are using an Android device.

Ahmed Hany
  • 952
  • 6
  • 12