0

My case is when the video is playing and the user want to move to other one, the (react-player) has the white screen until the the other video is loaded, then the other video will start.

What I want is, the first video will be play until the other video is loaded and ready to play, then will be like switch between each other, without the white screen.

Any suggestions ?

jones
  • 749
  • 7
  • 34
S3D
  • 109
  • 1
  • 9
  • Not clear on requirement. Can't you show all videos and toggle style display none, block for active id. but I would not at all recommand that. You wouldn't need to consume network unnecessarily. Use light prop while it switches video and start onBuffer onBufferEnd. – jones Feb 09 '23 at 09:52

0 Answers0