Hi,
I've been trying to implement a transcode function on mod/assign plugin, this function checks if the file is a video and if it is, transcodes the video to a lower quality and size.
Im using this plugin : https://github.com/jbavari/cordova-plugin-video-editor
My problem is, im unable to find where i should put this function on the code, i want it to run after the file is selected or after the video is recorded. How can i do that ?
I looked all over mm.core.fileuploader's controller and assign's controller but couldn't do it.
Using this version : https://github.com/moodlehq/moodlemobile-phonegapbuild
And this local plugin on server : https://moodle.org/plugins/local_mobile
Thank you very much and sorry for the bad english.