Open atif0075 opened 7 months ago
From what I read in the source code, the import should be:
import { VuePlayer } from "@voltra/vue-player"
Does upgrading to v0.0.3 fix the issue?
No, it's still the same issue.
I think the problem is due to webpack, it is not compatible with Vite.
So it would seem. It's gonna be tricky to both keep the browser support the exact same, and migrate to vite for compatibility
Maybe, For now, I am using the same react-player in my vue project with the help of a package vuaury. It is working well in my vue vite project.
However, I prefer a Vue-only solution since there is currently no other video player that is as powerful for Vue available.
I'll try making a vite-compatible bundle asap
It should be vite-compatible now
It is compatible now, but it is not showing any output. If you are trying to make it compatible with both vue2 and vue3, have a look at Vue Demi.
https://github.com/Voltra/vue-player/assets/64689549/498899d2-4f58-4c69-95f9-944ade6b5947
Strange, I'm not using anything Vue 2 or Vue 3 specific :c
I might need to make a full rewrite for v1
That would be better.
Hi @Voltra, Is there any new information available regarding this issue?
Hi, I haven't worked on this for now. I'll take a look at how I could integrate Vue-Demi or switch to a new webpack build system I cooked up for better imports and that should make it compatible with everything
Uncaught TypeError: Cannot read properties of undefined (reading 'name')