Report question

Question: PHP: How to check whether the URL is Youtube's or vimeo's