application/modules/g/views/helpers/Vimeo.php
public function render($vimeo, array $options = array()) {
        $this->_setDefaultAttribs($options);
        $_attribs = $options['attribs'];
        $_attribs['width']  = $options['width'];
        $_attribs['height'] = $options['height'];

        unset($options['width']);
        unset($options['height']);
        unset($options['attribs']);

        $playerUrl = $this->getPlayerUrl($vimeo, $options);

        $_attribs['frameborder'] = 0;
        $_attribs['src'] = $playerUrl;

        $html = '<iframe' . $this->_htmlAttribs($_attribs) . '></iframe>';
        return $html;
    }
public function render($vimeo, array $options = array()) {
        $this->_setDefaultAttribs($options);
        $_attribs = $options['attribs'];
        $_attribs['width']  = $options['width'];
        $_attribs['height'] = $options['height'];

        unset($options['width']);
        unset($options['height']);
        unset($options['attribs']);

        $playerUrl = $this->getPlayerUrl($vimeo, $options);

        $_attribs['frameborder'] = 0;
        $_attribs['src'] = $playerUrl;

        $html = '<iframe' . $this->_htmlAttribs($_attribs) . '></iframe>';
        return $html;
    }
public function render ( $ vimeo , array $ options = array ( ) ) { $ this -> _setDefaultAttribs ( $ options ) ; $ _attribs = $ options [ 'attribs' ] ; $ _attribs [ 'width' ] = $ options [ 'width' ] ; $ _attribs [ 'height' ] = $ options [ 'height' ] ; unset ( $ options [ 'width' ] ) ; unset ( $ options [ 'height' ] ) ; unset ( $ options [ 'attribs' ] ) ; $ playerUrl = $ this -> getPlayerUrl ( $ vimeo , $ options ) ; $ _attribs [ 'frameborder' ] = 0 ; $ _attribs [ 'src' ] = $ playerUrl ; $ html = '<iframe' . $ this -> _htmlAttribs ( $ _attribs ) . '></iframe>' ; return $ html ; }
Render a Vimeo object tag.

@param Garp_Db_Table_Row $vimeo A record from the `vimeo_videos` table (or `media` view)
@param array $options Various rendering options
@return mixed
Render a Vimeo object tag .