Hello fellow developers
I am coding a video repository plugin to a Media Server I made. ( actually, A fellow developer made)
It works very well when I am getting media (video) files off the Media server into Moodle.
But now, I wish to let users upload their local video files directly into the Media server from within the Moodle's repository plugin interface (and not have them open up a new window. login into the Media server. upload a file. go back to Moodle. refresh and choose that file) and have the file automatically selected and used within Moodle.
I have read the repository API documentation and read through all the relevant repository classes (the code) examined all the repository/*/lib.php of each core plugin. non seems to have that kind of functionality. (to the best of my understanding)
I have tried to add some upload functionality within the scope of the current API (functions) and AJAX limitation. but i can not figure it out.
I would really appreciate some advise