var video = document.getElementById("video");
video.src = window.URL.createObjectURL(vid);
@HubertGrzeskowiak it is a Blob or File object
I've found. It was so simple that I didnt even see it...
Is it only me who is still struggling with it? Sorry, not working for me.
What type is the vid parameter?