play video after uplaod

This commit is contained in:
Imanoel Ali 2019-01-17 02:43:44 +03:30
parent f5836e3ad4
commit cc5f2d5d78

View file

@ -325,6 +325,7 @@ function onload() {
console.log(file);
console.log(fileUrl)
video_selector.src = fileUrl;
video_selector.play();
file_selector.style.display = 'none';
document.getElementById("wrapper-video").style.display = 'block';
}, false);