To add a video file inside the drupal site, there are different ways. If we are entering a video file inside the drupal site by entering the url inside a text field, and we need to find the url entered is of which type (ie the url is of youtube or vimeo type).