You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a problem with the video component, where you need to use the library into a modal and close it,
when closing the component it's still running requests and trying to download the video because it has not abort controller in requests.
I fixed this problem with a ref and changed video tag events.
i wrote a function to empty src on the video tag, pause it & reload it,
it's going to reset the video and cancel all requests from the video tag.
it will be a good idea if requests cancel while closing.
close() { // handle the video tag inside the library for prevent download const videoElement = this.$refs.videoplayer.$el.querySelector('video') videoElement.pause() videoElement.src = '' videoElement.load() },
No description provided.
The text was updated successfully, but these errors were encountered: