iOS double-tap needed to start playing the video
See original GitHub issueCurrent Behavior
On iOS 13 and 14 (Safari and Chrome), when clicking on a video the “poster” image disappears, but it’s still necessary to tap again on the video to start playing. Basically, a double-tap is needed.
This issue seems related to these two:
- https://github.com/CookPete/react-player/issues/706
- https://github.com/CookPete/react-player/issues/543
Expected Behavior
On tap start the video immediately.
Steps to Reproduce
Looking at the others issues it seems that this issue is related to the use of the light
prop.
Current implementation:
<ReactPlayer
ref={ref}
url={src}
light={thumbnail}
config={{ youtube: { playerVars: youtubePlayerParams }, vimeo: { playerOptions: vimeoPlayerParams } }}
playing={true}
playIcon={
<PlayButton>...</PlayButton>
}
/>
Environment
Other Information
Has anyone faced this issue recently? Any possible solution?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Tap the back of iPhone to perform actions or shortcuts
Go to Settings > Accessibility > Touch > Back Tap. Choose Double Tap or Triple Tap, then choose an action. To perform the...
Read more >iPhone 12's: How to Use/Enable Back Tap (Double ... - YouTube
You will be able to double tap or triple tab the back of the iPhone 12 to ... ... Your browser can't play...
Read more >iPhone 13's & 14's: How to Use & Enable 'Back Tap ... - YouTube
Your browser can't play this video. ... You can use double tap or triple tap to take a screenshot, turn on or off...
Read more >How To Use Back Tap On iPhone To Open An App Quickly!
You can set the double-tap or triple tap on the back of your iPhone to perform any action like ... Your browser can't...
Read more >How to use Back Tap on iPhone | Apple Support - YouTube
Or open Control Center. You can set up Back Tap to perform an action when you double-tap or ... Your browser can't play...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey! Unfortunately, it’s been a long time and I don’t remember and I also no longer have access to the project. 😞
Thanks @cookpete, if I find any solution I will put it here!