I am developing an application that takes input of youtube video link from user and embeds it on the page. Is there any mechanism through which I can check if it is a valid link. Any method to check it either client side or server side will work.
Note- I am using zend framework