Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook videos not working in Chrome 68 #455

Closed
andybarron opened this issue Jul 28, 2018 · 4 comments
Closed

Facebook videos not working in Chrome 68 #455

andybarron opened this issue Jul 28, 2018 · 4 comments

Comments

@andybarron
Copy link

Repro: Go to https://cookpete.com/react-player/ and select one of the Facebook presets.

Bug: Video is a black screen. Inspecting the iframe element shows that something is adding visibility: hidden to the inline styles. (Screenshot) Manually removing the rule via JS or the inspector fixes the issue.

These issues only appear on Chrome 68; Chrome 67 is unaffected.. All tests were running macOS.

@cookpete
Copy link
Owner

Does the same problem occur when you mute the player beforehand? This could just be Chrome's new default autoplay policy. See #395.

@cyrdax
Copy link

cyrdax commented Jul 30, 2018

Still occurs with mute on our demo page

@LeGuit
Copy link

LeGuit commented Jul 31, 2018

I have the same issue with facebook videos but only on mobile (debugger mode).
It seems that facebook video link are redirected to m.facebook.com/link_to_my_video.
Only the sound is played not the video...

Then I have also the black screen. Could the issue came from FB ?

@cookpete
Copy link
Owner

cookpete commented Jul 31, 2018

See my answer to a similar issue here: #454 (comment)

My guess is that Facebook have updated their autoplay logic, possibly hiding the player if it detects that autoplay has been disabled (either by a mobile browser or a recent Chrome)? I have no idea why they would do this but it is out of ReactPlayer's control.

david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this issue Dec 23, 2018
david-hub024 pushed a commit to david-hub024/React_VideoPlayer that referenced this issue May 23, 2020
albanqoku added a commit to albanqoku/react-player that referenced this issue Feb 24, 2021
Webmaster1116 added a commit to Webmaster1116/video-player that referenced this issue May 20, 2021
webmiraclepro added a commit to webmiraclepro/video-player that referenced this issue Sep 9, 2022
philip-luther added a commit to philip-luther/react-player that referenced this issue Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants