Check if a video exist on vimeo or youtube

This is a simple way to check if a video exist on vimeo or youtube.