Camp.php
/**
     * Make amp-vine component
     * @param string id Vine video id
     * @param array attrs List of element attributes
     * @return object amp-vine node
     */
Make amp-vine component
@param string id Vine video id
@param array attrs List of element attributes
@return object amp-vine node
Make amp - vine component @param string id Vine video id @param array attrs List of element attributes @return object amp - vine node
private function _makeAmpVine($id, $attrs){
        unset($attrs['src']);
        if(isset($attrs['frameborder']))
            unset($attrs['frameborder']);
        $attrs['data-vineid'] = $id;
        $amp_vine = $this->doc->createElement('amp-vine');
        $this->_setAttribute($amp_vine, $attrs);
        $this->_addComponent('amp-vine');
        return $amp_vine;
    }
private function _makeAmpVine ( $ id , $ attrs ) { unset ( $ attrs [ 'src' ] ) ; if ( isset ( $ attrs [ 'frameborder' ] ) ) unset ( $ attrs [ 'frameborder' ] ) ; $ attrs [ 'data-vineid' ] = $ id ; $ amp_vine = $ this -> doc -> createElement ( 'amp-vine' ) ; $ this -> _setAttribute ( $ amp_vine , $ attrs ) ; $ this -> _addComponent ( 'amp-vine' ) ; return $ amp_vine ; }
Make amp-vine component
 @param string id Vine video id
 @param array attrs List of element attributes
 @return object amp-vine node
Make amp - vine component @param string id Vine video id @param array attrs List of element attributes @return object amp - vine node