I have been struggling put restriction for uploading video to upload only mp4 videos in media module, other media content like image etc. can be uploaded, but I need to put restriction for video type alone.
I am newbie in Drupal, can some one help me in this, what are the places I need to change in media module.
I would really appreciate any help on this. I did found
sites\all\modules\media\includes\media.pages.inc file which had a function
media_add_upload_validate($form, &$form_state) also then I found
sites\all\modules\media\includes\media.variables.inc which had function
media_variable_get. Then I got lost. I am not sure if these are the correct files where I need to make the changes. Also I was wondering if I have to make change in Drupal core module to do the video upload restriction to mp4 perfectly.