Same function to validate and get video ID