public function isVideo() { $this->getIterator(); return $this->iterator->current()->isFile() && WebFilesystem::isCommonFile($this->iterator->current()->getRealPath()) && WebFilesystem::isCommonVideo($this->iterator->current()->getRealPath()); }