-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Is there an existing issue for this?
- I have searched the existing issues
Which Mux Elements/Packages does this apply to? Select all that apply
mux-player
Description
Please let me know if this does not belong here due to the problem existing elsewhere but the Mux Player (and if so, please help me understand why its occuring), but Im trying to create a page where i can drag and drop videos.
Im using Vue3 and have chose the SortableJS (sortablejs-vue3 & sortablejs) library, but i have tried lots of other libraries also with the same result.
When dragging a Mux Player video, it always resets to the beginning of the video after dropped.
Here is a codesandbox of it: https://codesandbox.io/p/devbox/dragndrop-chdmjd
I commented out a version in the markup also where a normal video player is used and it works as expected.
Expected Behavior
I expect the to not restart the asset when its an on-demand, and i expect the live stream to continue at the same place. But it looks like its getting swapped out for a new instance when i complete the drop.