File::isExternalVideo() 

\nn\t3::File()->isExternalVideo($url = NULL); 

Indicates whether it is a video on YouTube / Vimeo. If yes, an array with embedding information is returned.

\nn\t3::File()->isExternalVideo('http://...');
Copied!

| @return array|boolean

Source Code 

public function isExternalVideo($url = null)
{
	return \nn\t3::Video()->getExternalType($url);
}
Copied!