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

SvelteKit support #3

Open
JettWilliams opened this issue Sep 13, 2022 · 2 comments
Open

SvelteKit support #3

JettWilliams opened this issue Sep 13, 2022 · 2 comments

Comments

@JettWilliams
Copy link

I'm struggling to get this to work with SvelteKit. Would be great to support it if possible.

@schnubor
Copy link
Member

Not sure what the problem is, but we updated reactPlayer to the latest version in v1.4.0 – maybe that fixes it for you?

@JettWilliams
Copy link
Author

I've tried again and found that adding /src to the import works:
import { Player } from "svelte-react-player/src";
This is the first time I've had to do that for a package so not sure what the issue would be.
Reference: https://stackoverflow.com/questions/64957437/external-dependencies-not-working-in-nav-svelte

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

2 participants