menerima hanya video dalam file jenis input di bawah ukuran
var uploadField = document.getElementById("file");
uploadField.onchange = function() {
// 2097152 ~ 2MB
if(this.files[0].size > 2097152) {
alert("File is too big!");
this.value = "";
};
};
Anxious Alligator