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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct("player");
 }
Esempio n. 4
0
 public function __construct($siteName, $title, $url, $type, $description)
 {
     $this->og = new OpenGraph($siteName, $title, $url, $type, $description);
     $this->tc = TwitterCard::summary($title, $description, $url);
 }
Esempio n. 5
0
 public function __construct()
 {
     parent::__construct("photo");
 }
Esempio n. 6
0
 public function __construct()
 {
     parent::__construct("product");
 }
 public function __construct()
 {
     parent::__construct("summary_large_image");
 }
Esempio n. 8
0
 public function __construct()
 {
     parent::__construct("summary");
 }
Esempio n. 9
0
 public function __construct()
 {
     parent::__construct("gallery");
 }