public function validateVideoLink($attribute, $value, $parameters, $validator)
    {
        return preg_match($this->youtubeRegex, $value) || preg_match($this->vimeoRegex, $value);
    }
public function validateVideoLink($attribute, $value, $parameters, $validator)
    {
        return preg_match($this->youtubeRegex, $value) || preg_match($this->vimeoRegex, $value);
    }
public function validateVideoLink ( $ attribute , $ value , $ parameters , $ validator ) { return preg_match ( $ this -> youtubeRegex , $ value ) || preg_match ( $ this -> vimeoRegex , $ value ) ; }
validator youtube link

@param $attribute
@param $value
@param $parameters
@param $validator
@param $validator
@return bool
validator youtube link