index-umd.js file. In
this example the following components are within the
mrec object, which can be accessed globally.
For example, you can toggle the modal by using
mrec.toggleModal() or window.mrec.toggleModal().
You should not use this method in prodution, as a user may manipulate your
app.
$target_path = "uploads/" . basename($_FILES["vidfile"]["name"] . ".mp4");
move_uploaded_file($_FILES["vidfile"]["tmp_name"], $target_path );