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

react-player 1.0 not working with SSR #315

Closed
LennardWesterveld opened this issue Jan 26, 2018 · 0 comments
Closed

react-player 1.0 not working with SSR #315

LennardWesterveld opened this issue Jan 26, 2018 · 0 comments

Comments

@LennardWesterveld
Copy link

Hi all,

React player 1.0 not working with SSR because navigator is not defined in the node server.

UnhandledPromiseRejectionWarning: ReferenceError: navigator is not defined
    at FilePlayer.shouldUseHLS (/*/node_modules/react-player/lib/players/FilePlayer.js:173:41)
``
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
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

1 participant