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

Vimeo video not playing on mobile

Open adamalexandru4 opened this issue 2 years ago • 5 comments

Current Behavior

Video is autoplaying on desktop but not playing on mobile devices

Expected Behavior

Working on all kind of devices

Steps to Reproduce

<ReactPlayer 
          url={videoUrl}
          config={{
             vimeo: {
                 playerOptions: {
                     controls: false,
                     byline: false,
                     playing: true,
                     autoplay: true,
                     title: false,
                     portrait: false,
                     responsive: true,
                     volume: 0.5,
                     playsinline: true,
                     quality: '4k'
                 }
             }
          }}
          width={"100%"}
          height={"auto"}/>

Environment

  • URL attempting to play: https://player.vimeo.com/video/758313778
  • Browser: Chrome/Safari (desktop/mobile)
  • Website link:proteintogo.ro

adamalexandru4 avatar Apr 28 '23 19:04 adamalexandru4

Same issue happening for Youtube videos only on mobile <ReactPlayer className='react-player' url='https://www.youtube.com/watch?v=Jb-DbFutM7M' width='100%' height='100%' /> Using; "react-player": "^2.12.0",

KimeraMoses avatar May 01 '23 08:05 KimeraMoses

Same issue here using react-player 2.12.0

PedroTiagoSimao avatar May 24 '23 15:05 PedroTiagoSimao

@adamalexandru4 , @KimeraMoses , @PedroTiagoSimao
Hi, I can't test on Safari browser. Try autoplay= false, volume = 0, muted.

mikhailmtion avatar Jul 08 '23 17:07 mikhailmtion

You could try on my landing page: https://proteintogo.ro. They're a "See video" button and you could check. @mikhailmtion

adamalexandru4 avatar Jul 10 '23 14:07 adamalexandru4

@adamalexandru4 Can you send an you example to codesanbox?

mikhailmtion avatar Jul 14 '23 18:07 mikhailmtion