var file = document.getElementById('file_video').files[0]; var url = URL.createObjectURL(file); document.getElementById("filetxt_videoV").src = url;