public static function player($title, $description, $url, $player_url, $playerWidth, $playerHeight, $imageUrl, $imageWidth = 0, $imageHeight = 0) { $card = new TwitterCard('player', $title, $description, $url); $card->image($imageUrl, $imageWidth, $imageHeight); $card->video($player_url, $playerWidth, $playerHeight); return $card; }
public function __construct() { parent::__construct("app"); $this->_description = null; $this->_appIdIphone = null; $this->_appIdIpad = null; $this->_appIdGoogleplay = null; $this->_appUrlIphone = null; $this->_appUrlIpad = null; $this->_appUrlGoogleplay = null; $this->_appNameIphone = null; $this->_appNameIpad = null; $this->_appNameGoogleplay = null; $this->_appCountry = null; }
public function __construct() { parent::__construct("player"); }
public function __construct($siteName, $title, $url, $type, $description) { $this->og = new OpenGraph($siteName, $title, $url, $type, $description); $this->tc = TwitterCard::summary($title, $description, $url); }
public function __construct() { parent::__construct("photo"); }
public function __construct() { parent::__construct("product"); }
public function __construct() { parent::__construct("summary_large_image"); }
public function __construct() { parent::__construct("summary"); }
public function __construct() { parent::__construct("gallery"); }