application/modules/g/views/helpers/Video.php
protected function _getSpecializedHelper($video) {
        if ($this->isVimeo($video)) {
            return $this->view->vimeo();
        } elseif ($this->isYoutube($video)) {
            return $this->view->youTube();
        }
        throw new Exception('Unsupported media type detected: ' . $video);
    }
protected function _getSpecializedHelper($video) {
        if ($this->isVimeo($video)) {
            return $this->view->vimeo();
        } elseif ($this->isYoutube($video)) {
            return $this->view->youTube();
        }
        throw new Exception('Unsupported media type detected: ' . $video);
    }
protected function _getSpecializedHelper ( $ video ) { if ( $ this -> isVimeo ( $ video ) ) { return $ this -> view -> vimeo ( ) ; } elseif ( $ this -> isYoutube ( $ video ) ) { return $ this -> view -> youTube ( ) ; } throw new Exception ( 'Unsupported media type detected: ' . $ video ) ; }
Return either the Vimeo or YouTube helper

@param Garp_Db_Table_Row|string|array $video
@return Zend_View_Helper_Abstract
Return either the Vimeo or YouTube helper