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

Drag and drop a video object inside a shadow dom #64

Open
ralfcarneborn opened this issue Feb 27, 2024 · 0 comments
Open

Drag and drop a video object inside a shadow dom #64

ralfcarneborn opened this issue Feb 27, 2024 · 0 comments

Comments

@ralfcarneborn
Copy link

Hi, I understand that this might be outside the scope of the library, but im trying to create a page where i drag and drop videos, this all works fine as long as i use a normal video tag.
However we use the that itself is a web component with the "media-chrome" library as a skin.

Whenever i drag and drop the mux-player (which is just a video player), it resets the player all the time and it can never maintain the state as it does with a normal video tag. Demo here: https://codesandbox.io/p/devbox/vue-draggable-next-2qqc2g
(I commented out the working video tag version there if you wanna see how it should work)

Is there an expert here that might be able to explain whats going on and what can be done to mitigate it?

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