Extract ids from Youtube and Vimeo URLs