Ejemplo n.º 1
0
 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;
 }
Ejemplo 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;
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct("player");
 }
Ejemplo 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);
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct("photo");
 }
Ejemplo n.º 6
0
 public function __construct()
 {
     parent::__construct("product");
 }
Ejemplo n.º 7
0
 public function __construct()
 {
     parent::__construct("summary_large_image");
 }
Ejemplo n.º 8
0
 public function __construct()
 {
     parent::__construct("summary");
 }
Ejemplo n.º 9
0
 public function __construct()
 {
     parent::__construct("gallery");
 }